Linux command to run in background.
command: nohup sh run.sh &
Linux command to run multiple commands in sequence.
command: nohup sh run.sh 2021-01-05 && sh run.sh 2021-02-08 && sh run.sh 2021-03-09 &
Finding the back ground running process in linux and killing it.
command: ps -ef | grep sh run.sh
get the pid from above command output and use it to kill it.
kill -9 92646
No comments:
Post a Comment