Author Topic: Requeue Failed Jobs  (Read 3048 times)

qube_tester

  • Jr. Member
  • **
  • Posts: 4
Requeue Failed Jobs
« 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.

anthony

  • Senior Software Engineer
  • Hero Member
  • *****
  • Posts: 183
Re: Requeue Failed Jobs
« Reply #1 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

qube_tester

  • Jr. Member
  • **
  • Posts: 4
Re: Requeue Failed Jobs
« Reply #2 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.