HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Cron jobs from within ISPConfig - Dont want emails (http://www.howtoforge.com/forums/showthread.php?t=25291)

robit 20th July 2008 22:06

Cron jobs from within ISPConfig - Dont want emails
 
Hi there,
Is there a way to get the cron jobs setup through ISPConfig to not send an email everytime the cron runs?

Or is it better to simply setup the cron jobs through crontab rather than ISPConfig in your opinion? -- its just easier for end-users through ISPConfig.

Your thoughts would be much appreciated.
Thanks
Robert

SupuS 20th July 2008 22:45

Quote:

Originally Posted by robit (Post 136973)
Hi there,
Is there a way to get the cron jobs setup through ISPConfig to not send an email everytime the cron runs?

Or is it better to simply setup the cron jobs through crontab rather than ISPConfig in your opinion? -- its just easier for end-users through ISPConfig.

Your thoughts would be much appreciated.
Thanks
Robert

After your command put this:

Code:

&> /dev/null

robit 20th July 2008 22:49

My command was: wget -O /dev/null http://www.example.com/cron.php

Should i take off the -O /dev/null from the beginning?
Thanks!

torusturtle 21st July 2008 06:29

Quote:

Originally Posted by robit (Post 136973)
Is there a way to get the cron jobs setup through ISPConfig to not send an email everytime the cron runs?

I only receive emails when there is an output from the cron job like an error message.
Maybe you can change the file so that it doesn't output anything.

till 21st July 2008 11:13

Please use:

wget -O /dev/null http://www.example.com/cron.php &> /dev/null

as SupuS suggested.

robit 21st July 2008 17:53

Thanks!
 
Thanks very much for you help. It worked wonderfully.

Much appreciated,
Robert


All times are GMT +2. The time now is 18:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.