rkulagow | hi, question on the best way to accomplish something | 02:34 |
---|---|---|
rkulagow | long-running php scripts that pull work out of a jobqueue | 02:34 |
rkulagow | different scripts, different jobs, so they're unique. | 02:35 |
rkulagow | if a script aborts for some reason, i'd like it to get restarted | 02:35 |
rkulagow | i've read the cookbook, and want to check strategy on how to proceed | 02:35 |
rkulagow | the most likely reason that the scripts exit is due to mysql server going away; restarting the script re-inits the db connection, so the scripts then work correctly | 02:37 |
rkulagow | the parent that launches the sub-scripts seems like it would be best. but if i just do 4 individual scripts, that are of the for i in `seq 1 4` variety, if instance #3 dies, will upstart restart that one, or does it consider the group of 1 through 4 as a single instance and won't restart the group until the last child dies? | 02:39 |
=== balkamos_ is now known as balkamos | ||
=== xnox_ is now known as xnox | ||
=== PaulePan1er is now known as PaulePanter | ||
=== stgraber_ is now known as stgraber |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!