I
I
Igor Tkachenko2015-11-24 12:58:06
PHP
Igor Tkachenko, 2015-11-24 12:58:06

How to monitor the execution of a shell_exec script?

There are many users in the database, every day we collect information about them by crown, for example, according to their subscribers in social networks. networks, there can be half a million of them, and collecting information on them can take a very large number. time.
Now the question becomes, how to follow them? In case one falls?
I tried to set the status if we are working with this user, but it turned out that it could fall and the status of working with the user remained the same...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2015-11-24
@foozzi

Jobs are placed in a queue .
You start a number of daemons and process jobs from the queue.
Daemon control (startup, restart, quantity control) - supervisor .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question