Reputation: 68710
Setting up cron is confusing, although I managed to set it to run every hour, but I can't quite figure how to change to run every 10 mins. This is the UI in admin panel:
Upvotes: 0
Views: 145
Reputation: 6150
Not sure what that specific UI interface allows...but if you can multi-select (hold down "ctrl" and click other minutes)...then just select 0,10,20,30,40,50
If you have access to actually edit the REAL crontab commands...the format is like this:
0,10,20,30,40,50 * * * * /path/to/command
Or...to simplify this, the "better" way is like so:
*/10 * * * * /path/to/command
Upvotes: 2
Reputation: 182
The Cron should be like this:
*/10 * * * * /home/backup.sh
If you have access to your servers shell use the following command:
$ crontab -e
See: Cronjob every minute
Upvotes: 1