Sounds like a plan. I'm considering the same, but will hold off until I find out more about why it's happening and whether running a daily 'fix' is a good thing.Originally posted by xion
Same thing on our servers. I'd love to know why that is happening also. For now, I've just set a night cronjob to run it.
in ssh:Originally posted by icanectc
Yes how do we setup a cron job to run this? Thanks for any assistance.
Hi evision,Originally posted by evisions
Hey sneader, actually this line:
3 15 * * * /scripts/mailperm > /dev/null 2<&1
would run the job at 3:03pm every day. The format is:
minute
hour
day (of month)
month
day (of week)
to run twice daily use this:
0 3,15 * * * /scripts/mailperm > /dev/null 2<&1
that will run it at 3am and 3pm daily.
And actually Ramsy's post of:
0 * * * * /scripts/mailperm > /dev/null 2<&1
will run the script at the top of every hour.
for more information type:
man 5 crontab
there are examples in the man page.
Hi squirrel,Originally posted by squirrel
Your
0 12,15 * * * /scripts/mailperm > /dev/null 2<&1
will make it run at 1200 hours and 1500 hours, or noon and 3pm.
For noon and midnight, you want
0 0,12 * * * /scripts/mailperm > /dev/null 2<&1
because 0 is midnight.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
L | Horde is using the wrong email address, rebuild fails | 3 | ||
O | Fix/rebuild email indexing | 2 | ||
S | exim.conf rebuild fails with " too many named host lists (max is 16)" error | 5 | ||
![]() |
How can I rebuild the "Trusted Hosts" list in Greylisting | 8 | ||
O | Rebuild/Fix Mail Dbs/Boxes | 1 |