failed_fax_emails.sh behavior when failed_fax_emails.log is empty

Status
Not open for further replies.

aitp/nadmin

Member
May 11, 2019
38
2
8
Hi there fusion community.

I recently ran /tmp/failed_fax_emails.sh and it worked for me, so I added it to my cron jobs and piped it out to a log file to keep track of it.

My issue is that when i run the script subsequent times and in my cron log, it shows the following output. I also notice that there is NO file called /var/lib/freeswitch/storage/fax/failed_fax_emails.log any longer, which might explain the symptom.

rm: cannot remove '/tmp/fax_email_retry.sh': No such file or directory
mv: cannot stat '/var/lib/freeswitch/storage/fax/failed_fax_emails.log': No such file or directory
chmod: cannot access '/tmp/fax_email_retry.sh': No such file or directory
/tmp/failed_fax_emails.sh: line 4: /tmp/fax_email_retry.sh: No such file or directory

Does anyone know if this is expected behavior when the file is missing or blank? Does this file get generated when there is a failed fax email, and the script will run when there is something to process? Thanks in advance for the info!

Respectfully,

aitp/nadmin
 
Status
Not open for further replies.