Current time: 01-11-2025, 11:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
Help me create cronjob for maia
Author Message
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #5
RE: Help me create cronjob for maia
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
(This post was last modified: 02-04-2009 01:59 PM by lschafroth.)
02-04-2009 01:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Help me create cronjob for maia - BeNe - 02-03-2009, 02:23 AM
RE: Help me create cronjob for maia - lschafroth - 02-04-2009 01:20 PM
RE: Help me create cronjob for maia - BeNe - 02-04-2009, 05:35 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)