Answer the question
In order to leave comments, you need to log in
Is it possible to set the year in the crown?
I have a cron command like this:
00 1 04 01 *wget...
Answer the question
In order to leave comments, you need to log in
No, you can specify a maximum month in cron.
But you can add a check for the year
00 1 04 01 * [ `date "+%Y"` == "2016" ] && wget...
Is it possible, just knowing the date and time, to set a command in cron that will be executed once?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question