httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Server stats script
Date Tue, 12 Aug 2003 05:50:55 GMT
Jeff Lee wrote:
> ifconfig > serverstats1
> service httpd status > serverstats2
> mutt -a /root/serverstats1 -s "Server Stats 1" jeffleeismyhero@hotmail.com
> < /dev/null
> mutt -a /root/serverstats2 -s "Server Stats 2" jeffleeismyhero@hotmail.com
> < /dev/null
> rm -rf serverstats1
> rm -rf serverstats2

This is not very related to Apache, but...

What is the cwd when this is executed? If it happens to not be /root, it
will not work well. I'd specify the full path to the files.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message