I would like to execute a script after 5 hours. My script is
$cat << EOF > run.sh
sleep 18000
sh run_my_script.sh
EOF
I submitted the job as:
sh run.sh >& log &
But due to some problem the server got shutdown.
My question is what will happen to my job:
1- Whether my job got deleted and I will have to submit the job again?
2- Server reboot within 5 hours. Will job still valid and start at 5 hours?
3- Server reboot after 5 hours.