Naresh Reddy on Thu, 20 Dec 2001 19:00:14 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] E-mailing Log Files


I am trying to e-mail myself my logfiles, created by a certain program. I
am using IBM AIX 4.1 (from my university). And to test it out I did this
in my crontab

* * * * * cat Net-AIM-1.21/away.log | mailx -s "Away Log"
nyg102@psu.edu

This should send me an e-mail every minute. Now, when I check my e-mail I
get no content in it. When I just do

% cat Net-AIM-1.21/away.log | mailx -s "Away Log" nyg102@psu.edu
I get content, but when I do it in cron, I get no content.

What is causing this?
Thanks
Naresh
http://www.personal.psu.edu/nyg102



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug