• Uncategorized

About python : Crontab-not-sending-mail-after-error

Question Detail

I have a simple python test script that raises an exception when is executed.

raise FileExistsError

For calling this file a created a simple shell script.

/home/user/anaconda3/bin/python /home/user/script.py

And I have the following task in crontab:

[email protected]

10 15 * * * /home/user/script.sh
10 15 * * * echo hi

But I am not receiving any mail after the python script has crashed! What is wrong in here?

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.