mirror of https://github.com/zulip/zulip.git
Add active-user-stats script to cron/puppet properly
(imported from commit 192ec002b5ff3c78866e2fc01482cb2f750eb7a0)
This commit is contained in:
parent
e6991c299d
commit
b58be7fcb5
|
@ -0,0 +1,3 @@
|
|||
MAILTO=root
|
||||
|
||||
*/10 * * * * zulip cd /home/zulip/deployments/current && python manage.py active_user_stats
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue