Friday, September 12, 2014

Easily periodically refresh/restart a linux process

Easily periodically refresh/restart a linux process:



while [ 1 ]
do
timeout –s SIGKILL 3h mycommand myargs
done

No comments:

Post a Comment