C
C
CeBePHblY2015-09-29 19:15:06
linux
CeBePHblY, 2015-09-29 19:15:06

How to make cron run jobs every hour for a certain period of time?

Now the cron has this line */30 * * * * The script is executed every half hour. It is necessary that it be performed every day from 6 am to 1 am every hour. How to record?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2015-09-29
@CeBePHblY

0 0-1,6-23 * * *
Did you look at examples of cron? everything is very detailed there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question