Hi everybody.
I have made some app that should be executed using crontab once a day.
I want to receive email in case something going wrong during execution.
Currently i have only one option. To create bash script that checks value returned by app and compares it to zero. In case it's not equal it sends email.
Can it somehow bee included to C app?
Thanks in advance.