Great Circle Associates Majordomo-Users
(July 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: DIGEST Password In CRON Script
From: "Chris Sparnicht" <chris @ grrn . org>
Date: Tue, 17 Jul 2001 12:11:41 -0400
To: <majordomo-users @ greatcircle . com>
References: <200107170211.f6H2BFS58517@rauterkus.com>

Thanks Mark!

I get it now - 'mkdigest' is a command being sent via email to
majordomo and is not the name of a file in the majordomo folder.

However, my digest doesn't seem to be going out daily, as
it is set in the digest maxdays field. For that reason, I want to set
up a crontab that does it automatically once a day.

If I were to set up this in crontab:
30 23 * * * echo '/path/to/file/myfile.txt' | mail majordomo@myaddress.com

where myfile.txt contains:_______________
From: me@myaddress.com
To: majordomo@myaddress.com
Subject: Send List Digest
Reply-To: me@myaddress.com

mkdigest <list-digest> <password>

EOF
________________________________

Would it work?

Crontab sends all mailed responses to my superuser account
where a sender is not supplied.
Would this send an email to majordomo and reply to me
appropriately rather than to the superuser address?

Chris

----- Original Message -----
From: "Mark Rauterkus" <Mark@Rauterkus.com>
To: "Chris Sparnicht" <chris@grrn.org>; "MajorDomo Users"
<majordomo-users@greatcircle.com>
Sent: Monday, July 16, 2001 11:03 PM
Subject: Re: DIGEST Password In CRON Script


> > Does the digest automatically go out
> > using a particular parameter if none are set?
>
> It is in the listname-digest.config file. There is a default in there.
That
> is what I bet is happening.
>
> > I didn't set any, and it seems to go out once
> > every couple days.
> Look closer in the file mentioned above.
>
> > It's certainly not set in
> > crontab.
> Right. The talk on the crontab must have been for another reason.
>
> > I've noticed that it seems to go out
> > right after a member sends the first post
> > of the day on which it decides to send.
> >
> > Also, is mkdigest part of majordomo or part
> > of sendmail? I didn't see it in my majordomo/bin
> > folder.
>
> Majordomo.
>
> Mark R.
>



Indexed By Date Previous: Re: I'm confused about footers
From: "Duane Beck" <dbeck@fcc.net>
Next: Re: DIGEST Password In CRON Script
From: "Chris Sparnicht" <chris@grrn.org>
Indexed By Thread Previous: Majordomo bugs make failure harder to track
From: Vicki Brown <vlb@cfcl.com>
Next: Re: DIGEST Password In CRON Script
From: "Chris Sparnicht" <chris@grrn.org>

Google
 
Search Internet Search www.greatcircle.com