rfdonnelly / jobrnr

Jobrnr runs jobs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to customize log recycling

rfdonnelly opened this issue · comments

The current behavior is to recycle job logs on job success (passing job logs get overwritten).

Add --save-all option to save all job logs. This option should qualify the last term (!job_instance.success?) of https://github.com/rfdonnelly/jobrnr/blob/master/lib/jobrnr/job/dispatch.rb#L78.