On 1/28/20 3:03 AM, Shashikanth Komandoor wrote:
Hello,
With your help, I was able to setup mailman 3.3 on my RHEL 7.5
machine and running well and good.
For daily notification I have added the below line in the crontab:
00 08 * * * /var/lib/mailman/venv3/bin/mailman notify
But this cron job is not working while I was able to run the same
command manually at my CLI.
Into exactly what crontab did you put it? That is the correct line if you put it in the mailman user's crontab, but if you put it in a system crontag, e.g./etc/cron.d/mailman, it needs a 'user_name' argument between the date/time fields and the commands. E.g.,
00 08 * * * mailman /var/lib/mailman/venv3/bin/mailman notify
although the Mailman user may not be 'mailman' in your case.
You should see some errors from cron in /var/log/syslog at 08:00 that would give you a hint.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan