Reputation: 71
I made jobs to start at every 4 hours H */4 * * *
But I can't schedule at 4:10
I tried 10 */4 * * *
and H/10 */4 * * *
Unfortunately no luck
Upvotes: 7
Views: 20513
Reputation: 345
Configuring a fixed time is very simple:
10 4 * * *
Your 10 */4 * * *
means "run it every 4 hours, at minute 10".
See also http://www.adminschoice.com/crontab-quick-reference/ for reference.
Sorry, from the description it seems you want to run it at exactly 4.10, but I then realized that in the title you say something different: every 4h and 10'. Do you mean e.g. at [1.10, 5.20, 9.30]? If so, try */10 */4 * * *
.
Please provide an example with a sequence of times you expect, e.g. [2.10, 3.20, 4.30], so that it's more clear what you want.
Upvotes: 5