add hourly check for upload queue issues, restore old note coloring

This commit is contained in:
albert
2013-03-12 15:49:58 -04:00
parent 10f40f4518
commit 47b88a1bb2
5 changed files with 30 additions and 5 deletions

4
config/monit.conf Normal file
View File

@@ -0,0 +1,4 @@
set alert r888888888@gmail.com
check process delayed_job with pidfile /var/www/danbooru2/shared/pids/delayed_job.pid
alert r888888888@gmail.com only on {nonexist}

View File

@@ -4,6 +4,10 @@ every 4.hours do
runner "TagSubscription.process_all"
end
every 1.hour do
runner "UploadErrorChecker.new.check!"
end
every 1.day do
runner "PostPruner.new.prune!"
end