Lon Farenwald on Thu, 20 Dec 2001 20:10:17 +0100 |
Well, it looks like the reference to the logfile itself ("Net-AIM-1.21/away.log") is using a relative directory path. Make it explicit (e.g. /usr/local/Net-AIM-1.21/away.log) and that should do the trick. -- Lon -----Original Message----- From: Naresh Reddy [mailto:nyg102@psu.edu] Sent: Thursday, December 20, 2001 7:11 AM To: plug@lists.phillylinux.org Subject: Re: [PLUG] E-mailing Log Files I put /usr/bin/cat (where cat is on the system, and its still not working). There is not program called 'logrotate' on the system, but there is a program called 'logger'. What do I do next? Thanks Naresh http://www.personal.psu.edu/nyg102 On Thu, 20 Dec 2001, Mark Schonbach wrote: > make sure you use full paths when executing stuff from within cron. > > On Thu, 20 Dec 2001, Naresh Reddy wrote: > > > * * * * * cat Net-AIM-1.21/away.log | mailx -s "Away Log" > > nyg102@psu.edu ______________________________________________________________________ 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
|
|