> From: Dave Wolfe <dwolfe@risc.sps.mot.com>
> [ Jerry Peek writes: ]
> >
> > On 3 February, "Scott D. Gregory" <Scott.D.Gregory@afpubs.hq.af.mil> wrote:
> > > Can I run bounce-remind from majordomo's crontab?
> >
> > Sure. Here are the lines from my "majordom" user's crontab. I also
> > run "bounce -expire" once a week to nuke old entries:
> >
> > 13 2 * * * MAJORDOMO_CF=/usr/local/majordomo/majordomo.cf /usr/local/majordomo/bounce-remind
> > 44 4 * * 0 /usr/local/majordomo/bin/bounce -expire /usr/local/majordomo/lists/bounces
> >
> > Notice that I'm setting the MAJORDOMO_CF environment variable. If I
> > didn't do that, the script wouldn't be able to find the configuration file
> > (because most environment variables aren't propagated into cron jobs).
>
> I thought that's why (well, at least partly why) all the Mj stuff was
> run via wrapper: consistent environment.
>
What would you suggest??
C-ya
Scott
Follow-Ups:
|
|