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

@@ -31,7 +31,7 @@ Danbooru::Application.configure do
# config.force_ssl = true
# See everything in the log (default is :info)
config.log_level = :info
config.log_level = :error
# Prepend all log lines with the following tags
# config.log_tags = [ :subdomain, :uuid ]

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"