AAK
AAK

Reputation: 441

Is there a way to write this Cron command succinctly?

I wand to add this to the crontab 3,8,13,18,23,28,33,38,43,48 * * * * foo.sh. Is there a way to write this in a less verbose manner?

Upvotes: 1

Views: 58

Answers (1)

Alex
Alex

Reputation: 11090

3-48/5 * * * * foo.sh

should do the trick

Upvotes: 3

Related Questions