Josh954r Posted April 8, 2009 Share Posted April 8, 2009 does anyone know how to run a query every hour automatically Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/ Share on other sites More sharing options...
xtopolis Posted April 8, 2009 Share Posted April 8, 2009 Cron Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/#findComment-804132 Share on other sites More sharing options...
Maq Posted April 8, 2009 Share Posted April 8, 2009 Yes, you need to set up a cron job in your crontab. Here's how to do it: Crontab - Reference Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/#findComment-804134 Share on other sites More sharing options...
Josh954r Posted April 8, 2009 Author Share Posted April 8, 2009 will that work with windows? Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/#findComment-804366 Share on other sites More sharing options...
Maq Posted April 8, 2009 Share Posted April 8, 2009 will that work with windows? No, but the equivalent for windows would be the Task Scheduler. Which would be the same concept and allow you to run scripts every hour. Google it, I'm sure you'll find information on how to set one up. Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/#findComment-804496 Share on other sites More sharing options...
Josh954r Posted April 9, 2009 Author Share Posted April 9, 2009 will that work with windows? No, but the equivalent for windows would be the Task Scheduler. Which would be the same concept and allow you to run scripts every hour. Google it, I'm sure you'll find information on how to set one up. Thanks Link to comment https://forums.phpfreaks.com/topic/153090-solved-help-run-a-query-every-hour/#findComment-805852 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.