PipelineFX Forum

Qube! => Jobtypes and Applications => Topic started by: davekoenig on February 27, 2008, 11:56:54 PM

Title: Continuous Jobs.
Post by: davekoenig 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.

Title: Re: Continuous Jobs.
Post by: michael.graf 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.