andz Posted May 24, 2009 Share Posted May 24, 2009 Good day everyone. Is it possible to create a php base cron jobs? The script will run every 10 seconds. Link to comment https://forums.phpfreaks.com/topic/159511-simple-cron-script-using-php/ Share on other sites More sharing options...
MadTechie Posted May 24, 2009 Share Posted May 24, 2009 Depends what you mean "php based" can you create a cron job that runs a php script every hour and that script have 10 seconds intervals of sleep Link to comment https://forums.phpfreaks.com/topic/159511-simple-cron-script-using-php/#findComment-841422 Share on other sites More sharing options...
Maq Posted May 25, 2009 Share Posted May 25, 2009 You don't create cron jobs with PHP... There should be a crontab already on the server that you can add your PHP script to. What are you doing that needs to be performed every 10 seconds? There may be a better way. Link to comment https://forums.phpfreaks.com/topic/159511-simple-cron-script-using-php/#findComment-841444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.