add cron job
This commit is contained in:
@@ -25,6 +25,7 @@ services:
|
||||
- ./docker-data/dms/config/dovecot/conf.d/95-sieve-redirect.conf:/etc/dovecot/conf.d/95-sieve-redirect.conf:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./sync_dynamodb_to_sieve.py:/scripts/sync.py:ro
|
||||
- ./sieve-cron:/etc/cron.d/sieve-sync:ro
|
||||
environment:
|
||||
# Wichtig: Rspamd und andere Services deaktivieren für ersten Test
|
||||
- ENABLE_RSPAMD=0
|
||||
|
||||
1
DMS/sieve-cron
Normal file
1
DMS/sieve-cron
Normal file
@@ -0,0 +1 @@
|
||||
*/5 * * * * root python3 /scripts/sync.py >> /var/log/sieve-sync.log 2>&1
|
||||
Reference in New Issue
Block a user