gems: remove whenever gem.

We're now using the `clockwork` gem for cronjobs in production. See
config/initializers/clockwork.rb.
This commit is contained in:
evazion
2021-09-20 01:30:52 -05:00
parent 65c560c2d7
commit 051f2be93f
5 changed files with 0 additions and 61 deletions

View File

@@ -1,26 +0,0 @@
# This file is used by the `whenver` gem to generate a crontab that runs
# Danbooru's maintenance tasks.
#
# @see app/logical/danbooru_maintenance.rb
# @see https://github.com/javan/whenever
# this is used in config/environments/production.rb.
env "RAILS_LOG_TO_STDOUT", "true"
set :output, "log/whenever.log"
every :hour do
rake "maintenance:hourly"
end
every :day do
rake "maintenance:daily"
end
every :sunday do
rake "maintenance:weekly"
end
every :month do
rake "maintenance:monthly"
end