RE: [SLUG] pine question

From: Mikes work account (mrock@stewartsigns.com)
Date: Thu Jul 26 2001 - 12:14:08 EDT


What I am attempting to do:

Each night we run a series of reports. Those reports need to be sent via
email to different recipients depending on the report. I want to do this
automatically from cron.

How do I do that? I know how to execute a program from cron,, but what
program do I execute and how do I attach the reports to an email and address
the email without opening pine or sendmail. Do I need to know the file
format for the outgoing email and create that file and submit it to sendmail
or what?

I need some direction to look,,,

Michael C. Rock

> -----Original Message-----
> From: slug@lists.nks.net [mailto:slug@lists.nks.net]On Behalf Of patrick
> grantham
> Sent: Thursday, July 26, 2001 11:15 AM
> To: slug@nks.net
> Subject: Re: [SLUG] pine question
>
>
> I use sendmail and an hourly cron job know the IP assign to "me" from twc.
> In a text file called msg.txt:
> I'm alive. look at my source from my IP
> ..
>
>
> hourly cron job:
> sendmail pwgrant@mailandnews.com <msg.txt
>
> If IP changes, I wait for the top of the hour and check my email.
> This may
> not be what you're trying accomplish, but I hope it helps.
>
> ----- Original Message -----
> From: "Mikes work account" <mrock@stewartsigns.com>
> To: <slug@nks.net>
> Sent: Thursday, July 26, 2001 10:39 AM
> Subject: [SLUG] pine question
>
>
> >
> > Is it posible to get pine or other email program to take its
> commands from
> a
> > macro instead of keyboard input?
> >
> > I want to invoke 'pine' and have it send an email with an attachment
> > unattended, as scheduled in cron.
> >
> >
> > Michael C. Rock
> >
>
>
>
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:56:42 EDT