At 10:24 AM 7/13/95, Mike Andrews wrote:
>Marc Russell
>>
>> I'm not sure how majordomo handles it, but in general, the volume of a
>> periodic publication indicates the number of years it has been
>> continuously published. So, if majordomo follows this rule, then it
>> should increment the volume number in a year.
>>
>>...
>>
>> On Wed, 12 Jul 1995, Markert Erich Mr. wrote:
>>
>> > Question.
>> >
>> > I've been sending out digests now for sometime and notice
>> > that the issue number is increasing, but I'm wondering when
>> > does the volume number increase? Does this have to be
>> > done manually, or does majordomo handle this?
>> > --
>
>How about putting a line like the following in majordomo's crontab:
>
>0 0 1 1 * VOL=`/usr/bin/cat /usr/local/majordomo/digest/mylist.vol`;\
> VOL=`/usr/bin/expr expr $VOL + 1`;\
> /usr/bin/echo $VOL > /usr/local/majordomo/digest/mylist.vol;\
> echo Happy New Year! Digest Volume number incremented | \
> /usr/bin/mail -s "Digest Volume Number incremented" Majordomo-Owner
>
>This would increment the volume number automatically at midnight on
>New Years Eve and mail Majordomo-Owner a message saying so.
>
>(The lines above broken for readablity. Th entry should all be on one line
> without the backslashes (\). The format of your crontab my be different. )
>
>You're welcome.
You also have to reset the issue number (<list>.num) to 1.
-Brent
----------------------------------------------------------------------
For info about the Internet Security Firewalls Tutorial and a schedule
of upcoming dates, please send email to Tutorial-Info@GreatCircle.COM
----------------------------------------------------------------------
Brent Chapman Great Circle Associates
Brent@GreatCircle.COM 1057 West Dana Street
+1 415 962 0841 Mountain View, CA 94041
|
|