in reply to Re: Script doesn't exit when run from cron.
in thread Script doesn't exit when run from cron.
I just wanted to say thanks for trying. The first line of your reply says "The script is not exiting because the file does exist." This is not so.
I purposely deleted it to test for this error condition. The script still ignores the conditional statement unless(-e $inow_fas).
It also ignores the line die "$inow_fas does not exist\n" unless (-e $inow_fas);.
Thanks anyway.
-Mike