I have not been getting email from my cronjob. What is going on?
Since our Linux and Unix machines no longer accept incoming email, in order to get email from your cronjob, – on non Solaris machines, you need to specify a MAILTO = your_username@rutgers.edu at the top of your cronjob. Without it, cron will have no idea where to send your cron notices as your local machine does not accept email.For example: MAILTO = your_username@rutgers.edu 0 0 1,15 * 1 /path/to/scriptname – Solaris does not support MAILTO variable. For Solaris machines, you need to wrap your cronjob with /usr/local/bin/mailoutput as follow: 0 0 1,15 * 1 /usr/local/bin/mailoutput -r your_username@rutgers.edu “/path/to/scriptname” Note: your cron command must be inside quotes. • My print jobs failed and I don’t get any notification in the email. What happen? Since the department provide central printing queue that is accessible via any client that support LPR protocol, there is no easy way for the printing software to notify user about printing failure.
Since our Linux and Unix machines no longer accept incoming email, in order to get email from your cronjob, – on non Solaris machines, you need to specify a MAILTO = your_username@rutgers.edu at the top of your cronjob. Without it, cron will have no idea where to send your cron notices as your local machine does not accept email.For example: MAILTO = your_username@rutgers.edu 0 0 1,15 * 1 /path/to/scriptname – Solaris does not support MAILTO variable. For Solaris machines, you need to wrap your cronjob with /usr/local/bin/mailoutput as follow: 0 0 1,15 * 1 /usr/local/bin/mailoutput -r your_username@rutgers.edu “/path/to/scriptname” Note: your cron command must be inside quotes. • My print jobs failed and I don’t get any notification in the email. What happen? Since the department provide central printing queue that is accessible via any client that support LPR protocol, there is no easy way for the printing software to notify user about printing failure. – Problem for Laptop users: Use