Add active-user-stats script to cron/puppet properly

(imported from commit 192ec002b5ff3c78866e2fc01482cb2f750eb7a0)
This commit is contained in:
Leo Franchi 2013-10-28 10:15:55 -04:00
parent e6991c299d
commit b58be7fcb5
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
MAILTO=root
*/10 * * * * zulip cd /home/zulip/deployments/current && python manage.py active_user_stats

View File

@ -24,6 +24,13 @@ class zulip::staging_app_frontend {
mode => 644,
source => "puppet:///modules/zulip/cron.d/email-mirror",
}
file { "/etc/cron.d/active-user-stats":
ensure => file,
owner => "root",
group => "root",
mode => 644,
source => "puppet:///modules/zulip/cron.d/active-user-stats",
}
file { "/etc/cron.d/clearsessions":
ensure => file,
owner => "root",