K
K
kator2019-09-17 17:23:51
Programming languages
kator, 2019-09-17 17:23:51

Correct organization of the execution of a cyclic task / script on a schedule?

Suppose there is a task: to delete from the database users who have not visited the site for more than a week.
It would be possible to do this with cron , but what if there are more than 100 such scripts and each is doing something different, and even the time interval is different? But what if we need to execute one of them once or only a few times, and not cyclically?
How to implement all this correctly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question