Scripts that test for X running might work in a shell but not when the
script is run by cron.
For example: This code:
tty|grep pts
retval=$?
if [[ $retval 0 ]];then
print X isn't running just now... postponing rsync of WWW
until such time as it is... exiting
exit
fi
Runs
On Nov 25, 2007 8:27 PM, [EMAIL PROTECTED] wrote:
Scripts that test for X running might work in a shell but not when the
script is run by cron.
For example: This code:
tty|grep pts
retval=$?
if [[ $retval 0 ]];then
print X isn't running just now... postponing rsync of WWW
2 matches
Mail list logo