2018-08-14 22:18:22 +02:00
|
|
|
# Sogod cronjobs
|
|
|
|
|
|
|
|
# Vacation messages expiration
|
|
|
|
# The credentials file should contain the sieve admin credentials (username:passwd)
|
2022-01-14 23:57:33 +01:00
|
|
|
0 0 * * * __APP__ /opt/yunohost/__APP__/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.creds
|
2018-08-14 22:18:22 +02:00
|
|
|
|
|
|
|
# Session cleanup - runs every minute
|
|
|
|
# - Ajust the nbMinutes parameter to suit your needs
|
|
|
|
# Example: Sessions without activity since 60 minutes will be dropped:
|
2022-01-14 23:57:33 +01:00
|
|
|
* * * * * __APP__ /opt/yunohost/__APP__/sbin/sogo-tool expire-sessions 60 > /dev/null 2>&1
|
2018-08-14 22:18:22 +02:00
|
|
|
|
|
|
|
# Email alarms - runs every minutes
|
|
|
|
# If you need to use SMTP AUTH for outgoing mails, specify credentials to use
|
|
|
|
# with '-p /path/to/credentialsFile' (same format as the sieve credentials)
|
2022-01-14 23:57:33 +01:00
|
|
|
* * * * * __APP__ /opt/yunohost/__APP__/sbin/sogo-ealarms-notify > /dev/null 2>&1
|
2018-08-14 22:18:22 +02:00
|
|
|
|
|
|
|
# Daily backups
|
|
|
|
# - writes to ~sogo/backups/ by default
|
|
|
|
# - will keep 31 days worth of backups by default
|
|
|
|
# - runs once a day by default, but can run more frequently
|
|
|
|
# - make sure to set the path to sogo-backup.sh correctly
|
|
|
|
#30 0 * * * __APP__ /opt/yunohost/__APP__/share/doc/sogo/sogo-backup.sh
|