Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cron expression for every > 60 minutes job

Tags:

cron

Is there any way to design the cron expression as to run every 70 minutes or 210 minutes i.e. > 60 minutes. I tried to search for this, but was not able to find this.

I finally went with a wrapper script that would do the required time checking which was called every 5 minutes(or the optimal recurring time).

How to accomplish such task in cron expression ?

like image 488
mtk Avatar asked Nov 13 '22 18:11

mtk


1 Answers

Run every 70 minutes

* */1.1666

or

Run every 210 minutes

* */3.5
like image 118
Sun Avatar answered Dec 30 '22 19:12

Sun