[CentOS] linux batch job "sleep" problem???
John Doe
jdmls at yahoo.com
Fri Jan 7 16:54:11 UTC 2011
From: mcclnx mcc <mcclnx at yahoo.com.tw>
> we have Redhat 5.5 on server. Recently we tried to use "sleep" command on
>batch job script some sleep work but some not sleep. any one have ideal?
> #/bin/bash
> set -v
> program1
> sleep 30
> program2
> sleep 60
> program3
> sleep 40
> ...
Maybe try to replace each sleep with:
(time strace sleep xx) 2>> sleeps.log
...
and check the logs...
JD
More information about the CentOS
mailing list