What I need to do is some nightly maintenance stuff (send out emails if a certain date is reached, update the mysql database, etc). Now I am good in PHP but not so good with server side stuff like CGI. Is there a way I can write a time specific program that will run on the server, lets say every night at 1:00am eastern, or do I need to write a CGI or Linux like program on the server? I really don't know where to start with this one.

Thanks