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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to