[Mailman-Users] email from Mailman (cron)l

Mark Sapiro msapiro at value.net
Mon Oct 31 17:02:09 CET 2005


Mark Sapiro wrote:

>antoine wrote:
>>
>>But how to declare the "cron" job for "mailman" user ?
>>
>>I type : # cron crontab.in
>
>First do
>
>su mailman

The above reply was a bit hasty. It may work in your case, but normally
'cron' would start the cron daemon and wouldn't take an argument.
Normally the cron daemon is started by init at startup time.

Maybe you meant you typed "crontab crontab.in" or maybe cron is an
alias for crontab in your case.

Installing a crontab for the mailman user can be done by root with

crontab -u mailman crontab.in

or if you can log in as mailman, you can just do

crontab path/to/crontab.in

The following:

su mailman
crontab crontab.in

is not recommended. See 'man crontab'.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list