# run a script every 30 seconds using a cron job in Linux #!/bin/bash #cat script.sh while true; do # Your script commands go here /path/to/your/actual/script.sh sleep 30 done
#set cronjob
* * * * * /script.sh
# run a script every 30 seconds using a cron job in Linux #!/bin/bash #cat script.sh while true; do # Your script commands go here /path/to/your/actual/script.sh sleep 30 done
#set cronjob
* * * * * /script.sh
0 comments:
Post a Comment