Surpress Crontab Email Alarts to stop error emails on linux
Page 1 of 1
Surpress Crontab Email Alarts to stop error emails on linux
- Code:
*/5 * * * * php -f /var/www/html/cj/email1.php >/dev/null 2>&1
Re: Surpress Crontab Email Alarts to stop error emails on linux
How to suppress unwanted emails
Now edit the following file and comment out the send line
the line to comment out is
the # means its commented out so make sure it is commented out and then restart the server and all should be good
Now edit the following file and comment out the send line
- Code:
sudo gedit /etc/cron.d/sendmail
the line to comment out is
- Code:
#*/20 * * * * smmsp test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
the # means its commented out so make sure it is commented out and then restart the server and all should be good
Similar topics
» Catch Keypress To Stop A Timer In Bash On Linux
» Setup Email & Send Email Via Bash On Linux Example
» Linux FTP Server Secuity setting up vsftpd for no emails
» Prevent Unwanted Cron Emails From Mail Server On Linux
» How To Fix Mysql Server Connect Error On Linux Mint
» Setup Email & Send Email Via Bash On Linux Example
» Linux FTP Server Secuity setting up vsftpd for no emails
» Prevent Unwanted Cron Emails From Mail Server On Linux
» How To Fix Mysql Server Connect Error On Linux Mint
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum