Class: AllPluginCheckUpdateJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- AllPluginCheckUpdateJob
- Defined in:
- app/jobs/all_plugin_check_update_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(*args) ⇒ Object
4 5 6 7 8 9 |
# File 'app/jobs/all_plugin_check_update_job.rb', line 4 def perform(*args) Plugin.installed.each do |pl| GemUpdateCheckJob.perform_later(pl.gem_name) end AllPluginCheckUpdateJob.set(wait: 1.hour).perform_later # will be checked every hour end |