Indefinite retry of jobs

Bart Dopheide bart.dopheide at ordina.nl
Wed Dec 16 05:23:57 PST 2009


The default setting of printer-error-policy of a queue is "stop-printer".

Since we did not like having to manually start a queue, we wrote some simple scripting to start any queue that was stopped. Essentially, this worked, but there might be another (cleaner) way.

We'd like to retry to print a job forever until the job is finally completed. That is why we are exploring printer-error-policy "retry-job". According to the documentation, a job is retried only JobRetryLimit times. I see no reference to zero being a special value meaning 'retry until maxint' or 'retry until end of days'. If a read scheduler/job.c (cups_1.3.8-1+lenny6) correctly, zero indeed does not have a special meaning.

Basically, my question is: how can we retry a job forever without scripting, i.e. with only lpadmin and/or cupsd.conf? If there is no such way, would you please accept my feature request to make zero a special value in JobRetryLimit?




More information about the cups mailing list