PipelineFX Forum

Qube! => General => Topic started by: qube_tester on April 27, 2007, 07:53:10 PM

Title: Requeue Failed Jobs
Post by: qube_tester on April 27, 2007, 07:53:10 PM
Hi All--

I'm running many jobs from the command-line...about 1500 jobs in chunks of 100. For the most part, things are going really well, but occasionally, a job (and thus, its chunk) will fail. Is there a way to automatically requeue failed jobs or is this just one of the gotchas of using command-line jobs?

Thanks.
Title: Re: Requeue Failed Jobs
Post by: anthony on April 27, 2007, 08:26:08 PM
Hey qube_tester,

    Actually, the qbsub command line tool includes a --retrywork option (it's documented in the qbsub --help) which tells the supervisor to retry a failed item automatically.  Normally you also compliment it with a --retrysubjob option as well since the subjob which ran the failed frame typically dies as well.
 
     Example:

           qbsub --retrywork 1 --retrysubjob 1 --range 1-100 Render -s QB_FRAME_NUMBER -e QB_FRAME_NUMBER myscene.ma

      Thanks,
               Anthony
Title: Re: Requeue Failed Jobs
Post by: qube_tester on April 27, 2007, 08:56:43 PM
Beautiful!

Believe it or not, I am working my way through the documentation. Qube! is so feature-rich, it's taking me a while to work through the PDFs!

Thanks again.