and pop that into run.sh (or whatever), and use that to run the program. You could even run it as a background task from there... set and forget.while [ 1 ]; do ./myscript.pl done
In reply to Re: Auto-restarting script if it dies
by naxxtor
in thread Auto-restarting script if it dies
by mojodaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |