I'm programming some code at the moment which I'd like to activate at midnight every night. Is there a way of doing this so that the PHP code is executed at specific times during the day? I'd be interested in all the different solutions people have for this as I'm sure there will be a few.
I've never heard of it but I'll do a bit of research on it. Do you have any handy resources on this method which you would recommend?
Hi Tommy, I have a reseller account. I've contacted my hosts asking them if it's possible to run cronjobs. What do you reckon?
Tip: Test your php pages directly, so you can rule out code problems if scheduled taskes don't work. tom
Thanks Tommy, I've basically just used the mail() command to send myself an email at the time of execution. It'll be a while before the program is actually ready to fully test. If this works, then I'm going to be a very happy man lol
Ok, I got my test cron job executing which is great news! I'll let you know what the project I'm working on is in about a months time. It should be quite interesting and fun for at least the UK population.