Displaying 1 result from an estimated 1 matches for "array_of_command".
Did you mean:
array_of_commands
2007 Dec 29
0
(unknown)
...word
Bj''s priority queue lives in the database and is therefore durable
- your jobs
will live across an app crash or machine reboot. The job
management is
comprehensive capturing stdout, stderr, exit_status, and temporal
statistics
about each job:
jobs = Bj.submit array_of_commands, :priority => 42
...
jobs.each do |job|
if job.finished?
p job.stdout
p job.stderr
p job.exit_status
p job.started_at
p job.finished_at
end
end
In addition the background runner process logs all commands run
and t...