A
A
Anatoly2019-02-26 17:44:04
Task Schedulers
Anatoly, 2019-02-26 17:44:04

How to run cron every 15 minutes from 12-23?

There is such a job
*/15 12-23 * * * /usr/bin/php update-status
According to my understanding, it should run every 15 minutes from 12-23, but for some reason it does not.
Why?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CHolfield, 2019-02-26
@CHolfield

Should work from 12:00 to 23:45 no problem.
Have you tried running it without cron?

A
Anatoly, 2019-02-27
@Skit25

Moderators! Delete the question.
It turned out that the system admins changed the time zone, I found it at the junction of the zones, so it didn’t work when it was necessary, and when I spent an hour figuring out the reasons, it suddenly worked. The admins returned the desired time zone, which is already 8 hours different from the one in which I work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question