ella Posted May 21, 2009 Share Posted May 21, 2009 Hi, I have a PHP script that I would like to run on a regular basis (every hour). What is the best method to do it? Link to comment https://forums.phpfreaks.com/topic/159135-running-php-script-on-a-scheduled-basis/ Share on other sites More sharing options...
jsschmitt Posted May 21, 2009 Share Posted May 21, 2009 Do you have a linux or MS based server? If linux... cron job... Link to comment https://forums.phpfreaks.com/topic/159135-running-php-script-on-a-scheduled-basis/#findComment-839227 Share on other sites More sharing options...
ella Posted May 21, 2009 Author Share Posted May 21, 2009 Thanks!! Linux, so corn job it is. I found the tool on the hosting service. But what is the command to run a php script from the "Command to run:" text box? Link to comment https://forums.phpfreaks.com/topic/159135-running-php-script-on-a-scheduled-basis/#findComment-839243 Share on other sites More sharing options...
jkewlo Posted May 21, 2009 Share Posted May 21, 2009 Google Cron Job's it should be in your cpanel or if u have shell access then you can set it up via that Link to comment https://forums.phpfreaks.com/topic/159135-running-php-script-on-a-scheduled-basis/#findComment-839247 Share on other sites More sharing options...
jsschmitt Posted May 21, 2009 Share Posted May 21, 2009 If you have cpanel... it lays it out pretty nicely for you... Link to comment https://forums.phpfreaks.com/topic/159135-running-php-script-on-a-scheduled-basis/#findComment-839250 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.