eozzy
eozzy

Reputation: 68710

Cron time setup

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:

enter image description here

Upvotes: 0

Views: 145

Answers (2)

techtheatre
techtheatre

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

richin
richin

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

Related Questions