A
A
AdaSchwartz2017-10-23 08:13:33
Task Schedulers
AdaSchwartz, 2017-10-23 08:13:33

How to set up cron?

59ed7aaf9b905859852468.pngThere are 12 scripts, I need them to be run in turn (Every 4 times), but I don't understand how to do it
1 - 0:00
2 - 0:30
3 - 1:00
4 - 1:30
5 - 2:00
6 - 2:30
7 - 3:00
8 - 3:30
9 - 4:00
10 - 4:30
11 - 5:00
12 - 5:30
and went from the beginning
1 - 6:00
2 - 6:30 etc. d

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kalibrov, 2017-10-23
@rework

I can offer two options:

  1. Create 12 cron jobs, each running every 6 hours and adding +30 minutes to each of them with the previous one.
  2. Run one main script every 30 minutes, and at the script level, make logic so that 12 scripts run in turn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question