add cron job

This commit is contained in:
Andreas Knuth 2026-01-25 13:43:26 -06:00
parent 6e83c9e5ad
commit 472ac97c56
2 changed files with 2 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1 @@
*/5 * * * * root python3 /scripts/sync.py >> /var/log/sieve-sync.log 2>&1