Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have not been getting email from my cronjob. What is going on?

cronjob email going
0
Posted

I have not been getting email from my cronjob. What is going on?

0

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.

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123