lib/openwfe/expressions/fe_cron.rb in openwferu-0.9.10.653 vs lib/openwfe/expressions/fe_cron.rb in openwferu-0.9.11
- old
+ new
@@ -166,10 +166,12 @@
@scheduler_job_id = @name.dup
@scheduler_job_id = "#{@fei.wfid}__#{@scheduler_job_id}" \
if not OpenWFE::starts_with(@name, "//")
- get_scheduler.schedule(@tab, @scheduler_job_id, self, nil)
+ get_scheduler.schedule(
+ @tab,
+ { :schedulable => self, :job_id => @scheduler_job_id })
ldebug { "reschedule() job id is '#{@scheduler_job_id}'" }
#store_itself()
#