J
J
jazzus2019-10-04 14:07:30
Task Schedulers
jazzus, 2019-10-04 14:07:30

Run every Monday 2 times a month?

You need to run the task 2 Mondays a month. in the first and third weeks. That in the first week on Monday it was launched. In the third week on Monday it was launched. And in 2/4 weeks it did not start. Those. 2 times a month. On Mondays) Is it possible to prescribe this?
Format
->cron('* * * * *');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-10-04
@jazzus

An old riddle :-)
In short, one line of cron will not work, you will have to check the condition in the script, read the discussion here for more details:
- https://stackoverflow.com/questions/11683387/run-e...
- https:/ /stackoverflow.com/questions/350047/how-to-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question