Jobly::Job class supports these class-level options:
set the name of the queue for this job.
number of times to retry on failure.
number of backtrace lines to show in case of failures. Can be
Specify that this task should only be executed once. If the same job is executed while this job is running, it will be skipped. See Solo Jobs for more information.
class Deploy < Jobly::Jobsoloqueue 'critical'backtrace 10retries 3def executeputs "Deploying"endend