Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th July 2008, 23:06
robit robit is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 20th July 2008, 23:45
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default

Quote:
Originally Posted by robit View Post
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
Reply With Quote
  #3  
Old 20th July 2008, 23:49
robit robit is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!

Last edited by robit; 21st July 2008 at 00:19.
Reply With Quote
  #4  
Old 21st July 2008, 07:29
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Quote:
Originally Posted by robit View Post
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.
Reply With Quote
  #5  
Old 21st July 2008, 12:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Please use:

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

as SupuS suggested.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 21st July 2008, 18:53
robit robit is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks!

Thanks very much for you help. It worked wonderfully.

Much appreciated,
Robert
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 20:15
ISPConfig 2.2.13 released till General 35 23rd July 2007 17:28
ispconfig backup cron poisen General 7 14th April 2007 13:26
Emails suddenly not working -- centos3 and ispconfig mxc General 5 16th November 2006 15:54
I am looking for a web interface calendar overview of cron jobs comedit Installation/Configuration 4 24th August 2006 01:21


All times are GMT +2. The time now is 04:15.


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