DarkerTimes
Cadet
- Joined
- Apr 27, 2014
- Messages
- 3
I added a cronjob to auto shutdown with: "shutdown -p now"
Everytime the cronjob shuts down the machine i get an email:
The user is root. In the settings "Redirect Stdout:" is enabled. But it doesn't disable email? Maybe if i take another user that has no email to do the shutdowns, it might work?
I only want to get emails when something is wrong! This is pretty annoying, because everyday i get a new email with a shutdown notification :(
Everytime the cronjob shuts down the machine i get an email:
Cron <root@freenas> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" shutdown -p now > /dev/null
shutdown: [pid 27330]
The user is root. In the settings "Redirect Stdout:" is enabled. But it doesn't disable email? Maybe if i take another user that has no email to do the shutdowns, it might work?
I only want to get emails when something is wrong! This is pretty annoying, because everyday i get a new email with a shutdown notification :(