How do you make another PHP script run at certain times of the day.
I want a script to automatically run every hour.
How do you do this? I thought it was Forking but i cant find any information in it.
Thanks guys
Hi,
You might be after 'Cron' ... but I haven't used myself.
Shove 'php cron' into google for a host of intro's etc.
Paul 🙂
definately cron. and if your server ain't got cron then someone's very kindly posted a link to an alternative over on the database forum here
Cheers for the responces, been looking at cron jobs, noticed that it kept saying unix/linux. Is this not possible on windows then?
you can achieve the same reults using the windows schedualer.
http://www.phpfreaks.com/tutorials/28/0.php
thats for *nix, im not sure about windows though..probally the same thing only using the windows schedular
Another Windows based option is PyCRON.