A
A
Ayk722014-04-08 11:35:36
Task Schedulers
Ayk72, 2014-04-08 11:35:36

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

2 answer(s)
K
Konstantin Dovnar, 2014-04-08
@Ayk72

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)

V
Vlad Zhivotnev, 2014-04-08
@inkvizitor68sl

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 question

Ask a Question

731 491 924 answers to any question