hi all,
I need to execute one command in shell script after 120 seconds through crontab.
I have given sleep 1m. but this does not work. any idea please.
sleep 60s
but the above command not working n shell script.
hi all,
I need to execute one command in shell script after 120 seconds through crontab.
I have given sleep 1m. but this does not work. any idea please.
sleep 60s
but the above command not working n shell script.
sleep 120
I can't believe that. More context, please. Error messages, script, ...
A more descriptive title would be useful.
As mentioned by MadeInGermany, If you dont have GNU specific sleep
you must provide only integer (without s
).