S
S
safenoob2016-06-17 11:33:09
PHP
safenoob, 2016-06-17 11:33:09

Cron tuning is possible, extensions exist?

In standard control panels, everything is rather primitive like an asterisk and time - minute, hour, day, month, year, reboot, etc.
For example, a cron that runs every day starts at 00:00 if I remember correctly, what if it needs to be run once a day but at 14:00?
Or the minimum interval is a minute, but what if you need more often, while you don’t feel like messing with demons?
Maybe at the axis level (Debian, Ubuntu) there are some alternative launch systems for timers, schedules?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2016-06-17
@safenoob

> Or the minimum interval is a minute, but what if you need more often, while you don't feel like messing with demons?
snaked
> what if it needs to be run once a day but at 14:00?
0 14 * * *
> Maybe at the level of axes (Debian, Ubuntu) there are some alternative systems of launches by timers, schedules?
anacron, atd, snaked
But this is still not a replacement for krone.

N
nikolayvaganov, 2016-06-17
@nikolayvaganov

Try using unconditional loops with checking the start and end times of the script.

S
Sergey Savostin, 2016-06-17
@savostin

What does php have to do with it?

what if it needs to be run once a day but at 14:00?
Read the cron documentation
What if you need more
sleep will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question