A
A
Andrey2016-01-12 15:53:30
Task Schedulers
Andrey, 2016-01-12 15:53:30

Cron every hour at a specific time?

Please tell me how to implement the following in ISP 5 Lite: I need to run cron every half an hour from 10.00 to 20.00 and every hour from 21.00 to 09.00.
If I understand correctly, then this can be done in two crowns. The first one runs every half an hour from 10-20. For ISP 5 Lite it is:
Minutes - */30
Hours - 10-20
Days of months - *
Months - *
Days of the week - *
I hope so right?
But the second kroner, which should run every hour from 21-9, I can’t figure out how to do it. Tried like this:
Minutes - 0
Hours - 21-09
Days of months - *
Months - *
Days of the week - *
But this way I will get an error when creating such a cron - in general, it is not correct. Tell me, please, and if possible in a detailed version (as I described above).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spetros, 2016-01-12
@dyba

The first one seems to be correct.
In the second range, otherwise you need to specify
21-23,0-9

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question