diff options
author | elijah <elijah@riseup.net> | 2015-04-15 03:16:59 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-04-15 03:16:59 -0700 |
commit | 00ff465519e2ac6d6c1b9beddbe5e51937d4825a (patch) | |
tree | b0bfd1a8a6a0e3304079cb5c7ddb91bd77744f0d /puppet/modules/site_webapp/manifests | |
parent | 1db40688123b681d2c0cd1d20140cacb2916c396 (diff) |
disable 'rake cleanup:sessions' cron job.
Diffstat (limited to 'puppet/modules/site_webapp/manifests')
-rw-r--r-- | puppet/modules/site_webapp/manifests/cron.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/manifests/cron.pp b/puppet/modules/site_webapp/manifests/cron.pp index bdf0fb74..d26ee312 100644 --- a/puppet/modules/site_webapp/manifests/cron.pp +++ b/puppet/modules/site_webapp/manifests/cron.pp @@ -14,11 +14,14 @@ class site_webapp::cron { hour => 1, minute => 1; + # there is no longer a need to remove expired sessions, since the database + # will get destroyed. 'remove_expired_sessions': command => 'cd /srv/leap/webapp && bundle exec rake cleanup:sessions', environment => 'RAILS_ENV=production', hour => 2, - minute => 30; + minute => 30, + ensure => absent; 'remove_expired_tokens': command => 'cd /srv/leap/webapp && bundle exec rake cleanup:tokens', |