Class Rufus::Scheduler::Job
In: lib/rufus/scheduler/jobs.rb
Parent: Object

Methods

Classes and Modules

Class Rufus::Scheduler::Job::KillSignal

External Aliases

id -> job_id

Attributes

callable  [R]  anything with a call(job[, timet]) method, what gets actually triggered
count  [R] 
handler  [R]  a reference to the instance whose call method is the @callable
id  [R] 
last_time  [R] 
last_work_time  [R] 
mean_work_time  [R] 
next_time  [RW]  next trigger time
opts  [R] 
original  [R] 
previous_time  [RW]  previous "next trigger time"
scheduled_at  [R] 
tags  [R] 
unscheduled_at  [R] 

Public Class methods

Public Instance methods

Calls the callable (usually a block) wrapped in this Job instance.

Warning: error rescueing is the responsibity of the caller.

Kills all the threads this Job currently has going on.

Trigger the job right now, off of its schedule.

Done in collaboration with Piavka in github.com/jmettraux/rufus-scheduler/issues/214

Protected Instance methods

[Validate]