RobertP Posted November 14, 2012 Share Posted November 14, 2012 so i am not understanding this... i need my script to run every 2 hours, and it now runs every minute or so ... * */2 * * * /usr/local/bin/php -f $HOME/minecraft-backups/mcbackup.php > $HOME/minecraft-backups/backup.log 2>&1 any help would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/270680-cron-help/ Share on other sites More sharing options...
jazzman1 Posted November 14, 2012 Share Posted November 14, 2012 Try, 0 */2 * * * /usr/local/bin/php -f $HOME/minecraft-backups/mcbackup.php > $HOME/minecraft-backups/backup.log 2>&1 Learn about more a cron job schedule from here - http://en.wikipedia.org/wiki/Cron Quote Link to comment https://forums.phpfreaks.com/topic/270680-cron-help/#findComment-1392356 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.