mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-19 10:26:18 +00:00
Improve logging of cron jobs
This commit is contained in:
parent
6e2ce17cd6
commit
9409bfa6bf
4 changed files with 27 additions and 40 deletions
|
|
@ -504,3 +504,17 @@ cat >/etc/syslog.conf <<- syslog
|
|||
mail.info /var/log/mail/maillog
|
||||
mail.* /var/log/mail/maillog.debug
|
||||
syslog
|
||||
|
||||
###############
|
||||
#//
|
||||
#// Cron
|
||||
#//
|
||||
###############
|
||||
install /dev/stdin /etc/periodic/daily/daily <<- daily
|
||||
/usr/share/webapps/roundcube/bin/cleandb.sh >>/var/log/mail/cron.daily.log 2>&1
|
||||
/usr/local/bin/postwhite/postwhite >>/var/log/mail/cron.daily.log 2>&1
|
||||
daily
|
||||
|
||||
install /dev/stdin /etc/periodic/weekly/weekly <<- weekly
|
||||
/usr/local/bin/postwhite/scrape_yahoo >>/var/log/mail/cron.weekly.log 2>&1
|
||||
weekly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue