Answer the question
In order to leave comments, you need to log in
How to set the crown time?
Good afternoon!
Cron has a schedule - to execute every day, i.e. obtained at 00.00.
But how can you make him do this every day, but not at 00, but at 2 in the morning?
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
It seems that everything is clear. :)
# * * * * * command to execute
# ┬ ┬ ┬ ┬ ┬
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ └───── day of week (0 - 7)
# │ │ │ └────────── month (1 - 12)
# │ │ └──────────────── day of month (1 - 31)
# │ └─── ────────────────── hour (0 - 23)
# └───────────────────────── min (0 - 59)
Done wrong. It will run every minute from 02:00 to 03:00.
That's right:
It's every day at 2:00 am.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question