Answers for "bash maximum running time"

0

bash maximum running time

timeout -s ${kill_signal} --preserve-status ${maxrun} /root/mon-lastdata.sh

example:
timeout -s 9 --preserve-status 100 /root/mon-lastdata.sh

-s 9 is equivalent to kill -9
Posted by: Guest on July-30-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language