what differences to run a shell script from command line and from crontab?

From: Feng Qiu (feng.qiu@bms.com)
Date: Wed Oct 26 2005 - 13:33:18 EDT


Dear all,
I wrote a very simple shell script which use ps and grep command to
check if a process (a running job) is still exist. If yes, do nothing.
If not, start that process.
If I execute the script in command line, everything went as what I
expected. But if it is executed from crontab, the process didn't start
as what I expected.
Anyone has suggestions?
Thanks.
Feng
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:33:44 EDT