I have a simple python test script that raises an exception when is executed.
For calling this file a created a simple shell script.
#!/bin/sh /home/user/anaconda3/bin/python /home/user/script.py
And I have the following task in crontab:
SHELL=/bin/bash [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?