clean up job listing, bug fixes

This commit is contained in:
albert
2013-02-17 23:16:56 -05:00
parent 1b780e27ab
commit 2af59642f6
6 changed files with 12 additions and 6 deletions

View File

@@ -8,6 +8,10 @@ every 1.day do
runner "PostPruner.new.prune!"
end
every 1.day do
runner "Upload.delete_all(['created_at < ?', 1.day.ago])"
end
if environment == "production"
every 1.hour do
runner "AmazonBackup.execute"