Hello,
I've managed to get my cron job halfway working. As in it performs an rsync task. However I would like to get notified via email of all the files that were moved (a list) as well as the status of the job.
Currently I have
/usr/local/emhttp/webGui/scripts/notify -i normal -s "Operation complete"
However what if the operation fails? What are the different handlers here? Finally....do I put this command at the end of my script and it covers all the oper
When you call notify without parameters , you'll get the available options.
# notify
notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [add]
create a notification
use -e to specify the event
use -s to specify a subject
use -d to specify a short description
use -i to specify the severity
use -m to specify a message (long description)
use -x to create a single notification ticket
use -t to force send email only (for testi