php - How to set cron on alternate Mondays in linux? -


i want execute cron on alternate mondays, how can set in linux?
example, if cron execute on 4th sept 2017 next be
18th sept 2017
2nd oct 2017
16th oct 2017
30th oct 2017 , on.
refer this document not sure correct or not. if 1 has idea let me know.

maybe solution save somewhere (file, db,...) last execution date , on every execution check if right day next execution. in way have more flexibillity cronjob config.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -