Answer the question
In order to leave comments, you need to log in
How to run crone job every other day?
Tell me what to write in Crone here: prntscr.com/51rig3 so that the script runs every other day? Preferably after midnight.
Answer the question
In order to leave comments, you need to log in
this cannot be done purely by means of the crown due to the different number of days in the month, you will have the same as now with the days of the week.
you can write several rules for 30 and 31 day months, but the big February will get in the way early,
so if the period is critical for you, run it once a day and count in the script how much has passed since the previous run
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question