Email inside cron
From: Silva, Germano (Germano_Silva_at_brown.edu)
Date: 08/20/04
- Previous message: Daniel Widyono: "Re: E-Mail Server giving too much information w/ Return Receipt Requests {Scanned}"
- Next in thread: Manuel Arostegui Ramirez: "Re: Email inside cron"
- Reply: Manuel Arostegui Ramirez: "Re: Email inside cron"
- Maybe reply: Silva, Germano: "RE: Email inside cron"
- Maybe reply: Bob Smith: "Re: Email inside cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 Aug 2004 10:31:01 -0400 To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
Hi,
I have a Cshell script that does a whole bunch of stuff and as it is
doing stuff, it writes status data to a log file. At the end of the
script I email the contents of the log file to me email address as
follow:
/bin/mail -s "${MsgHeader} finished." ${MailTo} <${logfile}
This works fine when I run the script interactively, but no email is
sent when I run ut as a cron job.
Any ideas why?
Thanks
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Daniel Widyono: "Re: E-Mail Server giving too much information w/ Return Receipt Requests {Scanned}"
- Next in thread: Manuel Arostegui Ramirez: "Re: Email inside cron"
- Reply: Manuel Arostegui Ramirez: "Re: Email inside cron"
- Maybe reply: Silva, Germano: "RE: Email inside cron"
- Maybe reply: Bob Smith: "Re: Email inside cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|