mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
[manual] digest: add the cron job that will trigger digest emails.
Manual deployment instructions: On staging, do a puppet apply. No action needs to be taken for the prod deploy. (imported from commit 0f6e5ab22aaeacfcc69d57de12f2bb6fac6f0635)
This commit is contained in:
4
puppet/zulip_internal/files/cron.d/send-digest-emails
Normal file
4
puppet/zulip_internal/files/cron.d/send-digest-emails
Normal file
@@ -0,0 +1,4 @@
|
||||
MAILTO=root
|
||||
|
||||
# Send digest emails once a day.
|
||||
0 11 * * * zulip cd /home/zulip/deployments/current && python manage.py enqueue_digest_emails
|
||||
@@ -38,6 +38,13 @@ class zulip_internal::staging_app_frontend {
|
||||
mode => 644,
|
||||
source => "puppet:///modules/zulip_internal/cron.d/clearsessions",
|
||||
}
|
||||
file { "/etc/cron.d/send-digest-emails":
|
||||
ensure => file,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => 644,
|
||||
source => "puppet:///modules/zulip_internal/cron.d/send-digest-emails",
|
||||
}
|
||||
# Staging has our Apple Push Notifications Service private key at
|
||||
# /etc/ssl/django-private/apns-dev.pem
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user