View Full Version : Automatic script execution

02-24-2003, 08:36 PM
Does anybody know if it is possible for a script to be executed automatically? For example, i want to create a script that checks if a user has birthday and send them an email. Although i know how to code the script i want the script to execute automatically once a day (ex. 24:00 of every day). Is there a way to achieve that or do i have to do it manually every day?

02-24-2003, 09:51 PM
Assuming you are on a linux machine you will need to use CRON jobs. Search the forums for CRON jobs.

02-24-2003, 11:32 PM
And if you're like me and don't have access to CRON, then you can just include the script into a page that is visited atleast once a day

02-25-2003, 02:16 PM
Thanks guys. Forunately i do have access to cron jobs :)