Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Commit

Permalink
Fix typo causing old managed install reports to not be cleaned
Browse files Browse the repository at this point in the history
Cron tasks specify in config/schedule.rb contained a typo to a non-existent rake task. This stopped nightly rake task responsible for destroying reports older than 30 days

On your server, run `cd /path/to/your/app && wheneverize` to rewrite your crontab file.
  • Loading branch information
jnraine committed Jun 25, 2012
1 parent 3e4a96b commit 7defe20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# every night at 12 pm
every 1.day, :at => '2:00am' do
rake "chore:cleanup_system_profiles"
rake "chore:cleanup_old_managed_install_report"
rake "chore:cleanup_old_managed_install_reports"
rake "chore:cleanup_missing_manifests"
end

1 comment on commit 7defe20

@jnraine
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I lied. Run this:

cd /path/to/your/app && whenever --update-crontab

Please sign in to comment.