Let's say I want my cron job to run every 7 hours, it would look like this: 0 */6 * * * foo
But what I'd like to do is run it every 7 hours starting at a particular time.
If I want it to start at say 1am, I know I can do something like 0 1,8,15,22 * * * foo, but the issue is that this will reset the next day and start at 1 am.
What I'm looking for is a series like:
- 1am
- (+7) 8am
- (+7) 3pm
- (+7) 10pm
- (+7) 5am on the next day
- (+7) 12pm
- (+7) 7pm
- (+7) 2am on the day after that
- etc..
How can I accomplish this?