LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > ./rrdgraph_install.sh ?

Reply
 
Thread Tools Display Modes
  #11  
Old 12-21-2011, 04:24 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
maybe in cron job:
* * * * * $PHP_BIN $DEST_DIR/ls_stats/update.php

add > /dev/null, i.e.,
* * * * * $PHP_BIN $DEST_DIR/ls_stats/update.php > /dev/null

will disable email.
Reply With Quote
  #12  
Old 12-21-2011, 04:30 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
that was it need to update instructions from rrdgraph_install.php

from

Code:
* * * * * /usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.php
to

Code:
* * * * * /usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.php >/dev/null 2>&1
Reply With Quote
  #13  
Old 12-21-2011, 10:25 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
updated the package.

* * * * * $PHP_BIN $DEST_DIR/ls_stats/update.php > /dev/null
is recommended.

this will redirect STDOUT only to /dev/null, but not STDERR.
so if there is any error message to STDERR, e.g., "/path/to/lsphp5" is deleted for
some reason, you'll receive an warning email from logwatch.
Reply With Quote
Reply

Tags
cpanel, rrdgraph, rrdtool, whm

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


All times are GMT -7. The time now is 04:42 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.