Answer the question
In order to leave comments, you need to log in
How to run a constantly running script in ubuntu (gearman)?
I'm trying to work normally with gearman, but as soon as I need to do something, I have to put the script on permanent execution again.
After searching for the reason, I realized that I need to run it along with the nohup command. But there were no fewer problems. Why is the script breaking? I thought about running and checking through cron, but in this case, the script may break during a process that takes a very long time (import from XML), which I do not need at all. What's the matter?
Answer the question
In order to leave comments, you need to log in
Did you put a script in the background? nohup .... &
You also need to check the value of the php parameter max_execution_time
Enable logging, it may be crashing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question