mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
473a64d39d
hotness. Note: People on Heroku will have to update their jobs to the new structure in Heroku.md
21 lines
No EOL
481 B
Ruby
21 lines
No EOL
481 B
Ruby
desc "This task is called by the Heroku scheduler add-on"
|
|
|
|
# Every day at 6am
|
|
task :enqueue_digest_emails => :environment do
|
|
Jobs::EnqueueDigestEmails.new.execute(nil)
|
|
end
|
|
|
|
# Every day at 4am
|
|
task :category_stats => :environment do
|
|
Jobs::CategoryStats.new.execute(nil)
|
|
end
|
|
|
|
# Every 10 minutes
|
|
task :periodical_updates => :environment do
|
|
Jobs::PeriodicalUpdates.new.execute(nil)
|
|
end
|
|
|
|
# Every day
|
|
task :version_check => :environment do
|
|
Jobs::VersionCheck.new.execute(nil)
|
|
end |