Help me create cronjob for maia - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Help me create cronjob for maia (/thread-5601.html) |
Help me create cronjob for maia - lschafroth - 02-02-2009 08:52 AM I installed maia on my Debian Etch RC6 system using the Howto on this site. The instructions for adding the cronjobs never did work. It always gave me an error. I tried adding them to the root cron and they still do not run. Can someone help me configure the maia cronjobs on my system so maia notifcations and etc work? Lannie RE: Help me create cronjob for maia - gOOvER - 02-02-2009 02:26 PM You forgot to tell us a importent part: what exactly and how you wanted to add the cron. Normally ever admin should know, what he do and adding a cronjob is basic knowledge. RE: Help me create cronjob for maia - lschafroth - 02-02-2009 11:44 PM I edited the crontab file and put it in there with nano. I'm such a linux newbies so I hope I didnt hurt anything. Lannie The crontab -u amavis -e errors every time. RE: Help me create cronjob for maia - BeNe - 02-03-2009 02:23 AM Quote:The crontab -u amavis -e errors every time.And what does this Error say ? The User "amavis" exists ? Greez BeNe RE: Help me create cronjob for maia - lschafroth - 02-04-2009 01:20 PM I noticed when I copy from the howto and paste into my SSH window it changes it from -u to .u I did the command with the -u and now it comes up with the cron and here is the contents: # m h dom mon dow command 55 * * * * /var/lib/amavis/maia/scripts/process-quarantine.pl --learn --report 1 * * * * /var/lib/amavis/maia/scripts/stats-snapshot.pl 5 1 * * * /var/lib/amavis/maia/scripts/expire-quarantine-cache.pl @weekly /var/lib/amavis/maia/scripts/send-quarantine-reminders.pl #15 1 * * * /var/lib/amavis/maia/scripts/send-quarantine-digests.pl I noticed there are Daily, Weekly cron folders too. Should those be used? The howto never mentions those. Lannie If I follow the guide and type 'crontab -u amavis -e' I get a blank crontab which I can paste the lines into. If I do a 'su amavis' then type 'crontab -e' I get yet another empty crontab. Which is the proper way to do it? Should the last entry have a # symbol in front of the scheduled times? Lannie RE: Help me create cronjob for maia - BeNe - 02-04-2009 05:35 PM Quote:If I follow the guide and type 'crontab -u amavis -e' I get a blank crontab which I can paste the lines into.Yes this is right! Quote:If I do a 'su amavis' then type 'crontab -e' I get yet another empty crontab.But the crons are running ? And running under this user ? Please check this. Quote:Should the last entry have a # symbol in front of the scheduled times?The Question is, do wanna use the digests ? Greez BeNe RE: Help me create cronjob for maia - lschafroth - 02-06-2009 04:37 AM It is working now. YOu may want to fix the howto on this site. Following the guide, you edit cron job from the root account: crontab -u amavis -e I did it this way: su amavis crontab -e The first method does not work. The second method is working. Thanks! Lannie |