Answer the question
In order to leave comments, you need to log in
How to execute multiple scripts in cron?
Omniscient ALL!
There are several scripts.
Each of them is performed differently in duration - from 1 second to several minutes.
The results are written to separate files.
Is it possible to run them at _one_ time (and not sequentially)
so that the result collector processes everything, for example, in half an hour.
Best regards
Andrey
Answer the question
In order to leave comments, you need to log in
Just write all the scripts separately in cron.
Cron will try to run them.
Cron does not guarantee that all scripts will run exactly second-for-second, but will try to run everything that is scheduled for that minute. In the normal case, if the machine is not overloaded, usually everything starts at zero or the first second.
But if some task could not start in a full minute due to server load, it can be skipped by cron.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question