simple_scheduler 0.2.0
“Simple Scheduler adds the ability to enhance Heroku Scheduler by using Sidekiq to queue jobs in the future. This allows f…”
Ruby dynamically invokes a method with sendRuby loads a relative source module
SHA-2566d1a08a24a3f33a13bba0de42bceae8d1891e328ccc4269b81bd89c95496a70f
MaleculeH₂(DbOs)
Evidence
1module SimpleScheduler
2 # Class for parsing each task in the scheduler config YAML file and returning
3 # the values needed to schedule the task in the future.
4 #
5 # @!attribute at
6 # …
8:27… time between the scheduled and actual run time that should cause the job not to run
9 # @!attribute frequency
10 # @return [ActiveSupport::Duratio …
142:26… uration[0].to_i
143 frequency_units = split_duration[1]
144 frequency.send(frequency_units)
145 end
146
147 def validate_params!(params)
148 params[:name] ||= params[:class]
149 raise Argumen …
21:6… @param scheduled_time [Integer] The epoch time for when the job was scheduled to be run
22 def perform(task_params, scheduled_time)
23 @task = …
1require "active_job"
2require "sidekiq/api"
3require_relative "./simple_scheduler/future_job"
4require_relative "./simple_scheduler/railtie"
5require_relative "./simple_scheduler/scheduler_jo …
No evidence locations were recorded for this file. Raw result