in reply to Re: Script doesn't exit when run from cron.
in thread Script doesn't exit when run from cron.
The second grep -v keeps grep from showing the present invocation. This part of the script works.
What I'm trying to find out is why the exit unless(-e filename)doesn't cause the script to exit when the filename doesn't exist.
It may be an environment/path issue. I will do some more testing today.
Thanks for the reply
-Mike