lib/right_chimp/exec/Executor.rb in right_chimp-1.1.1 vs lib/right_chimp/exec/Executor.rb in right_chimp-1.1.2
- old
+ new
@@ -56,9 +56,16 @@
return @time_end.to_i- @time_start.to_i
end
end
#
+ # Convenience method to queue a held job
+ #
+ def queue
+ @group.queue(self.job_id)
+ end
+
+ #
# Convenience method to requeue
#
def requeue
@group.requeue(self.job_id)
end