I have an
.sh script. I would like to wait 25 minutes and then continue running, NOT repeat.
It's something like this:
#!/bin/bash /bin/bash ~/path/script.sh
I want it to kill a process after waiting 25 minutes.
#Wait 25 minutes killall process
Use the sleep command:
So it would look like
Source and good resource: http://www.cyberciti.biz/faq/linux-unix-sleep-bash-scripting/
This should make the script sleep for 25 minutes and then continuing executing after
For sleeping in second try:
This will make it sleep for 25 seconds