Author Topic: Continuous Jobs.  (Read 4612 times)


  • Jr. Member
  • **
  • Posts: 4
Continuous Jobs.
« on: February 27, 2008, 11:56:54 PM »
I'm pretty new to Qube, so I imagine this is a pretty basic question...

What's the easiest way to make a continuous commandline job?  Ie When the commandline job is done, it fires it off again, looping over and over again.



  • Sr. Member
  • ****
  • Posts: 26
Re: Continuous Jobs.
« Reply #1 on: March 06, 2008, 11:39:05 PM »
I think a callback would be the easiest way to accomplish this but you will need to write a perl or python script to create the callback code and use the API as I do not think callback code can be submitted using qbsub.  this callback will be something similar

some perl...
my $foo =  {
                "triggers" => "complete-job-self",
                "language" => "qube",
                "code" => "retry-self"

you may want to refer to the Callback section in the "Developing for Qube" manual

or maybe the the developers have something else in mind as my example may be incomplete or the "code" not correct for retry.