You are not logged in.
Pages: 1
I installed archstats and set it up as a cron job. Later I checked /var/log/crond to see if it ran
and found:
12-May-2004 20:30 USER root pid 1067 cmd /usr/bin/archstats -u
12-May-2004 20:30 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null
I don't have sendmail installed.
Does archstats try and send stats/info with sendmail?
Offline
No, it does not send data via email. It makes and HTTP POST to the server to transmit data.
I believe what you are seeing is an attempt at cron to deliver archstats's stdout via email. For example, if archstats detects an md5sum difference in the remote server from what it has in its config file, it will report that information to stdout. Typically, output from cronjobs (unless redirected) will be delievered to a system account as an email message.
Cheers, and thanks for participating.
farphel
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
How do you redirect the output ?
Offline
How do you redirect the output ?
redirection operators are > >> and < <<
if you want to redirect to a file do:
command_here >>some.file
one > will create the message as new, >> will add to what's already in the file. &>/dev/null will send stdout and stderr to nothingness.
Offline
Pages: 1