![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use tee with stdout and stderr? | siegfried | Shell Programming and Scripting | 3 | 01-14-2009 10:07 PM |
| can't install AWStats | jasonfrost | BSD | 3 | 08-18-2008 04:29 PM |
| csh stderr redirection | jolok | Shell Programming and Scripting | 0 | 04-15-2005 10:03 AM |
| stderr redirection | blakmk | UNIX for Dummies Questions & Answers | 5 | 12-12-2002 01:22 PM |
| stderr | dell9 | High Level Programming | 1 | 11-21-2001 06:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Awstats stderr solution
Hello!
Firts of all, sorry fo my poor english, but i hope you'll undestand me ![]() Ok, let's go to the problem.... I have a lot of awstats crontabs, and i have one mail,where i get daily and weekly output of all servers that i administrate, now it's problem that i get to his mail every time, when crontab for awstats is started. I was searching on google so long, but i did't find any fine solution too me, because i don't want to use this in the end of crontab -> CRON >/dev/null 2>&1 because this will email me only if file won't exist anymore. Finally, i want that crontab for awstats send me email just in case if awstats don't update correcly. Thank you very much! Regards |
|
|||||
|
Test it. Run awstats and force an error condition (one way is to kill the process from another terminal). Then in the command prompt after awstats returns, run
Code:
echo $? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|