Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: CA::AutoSys::Jil module

by Anonymous Monk
on Sep 18, 2008 at 04:24 UTC ( [id://712170]=note: print w/replies, xml ) Need Help??


in reply to CA::AutoSys::Jil module

Hi, how is the Condition string split into different jobs and inserted in the autosys JOB_COND table. If JobA has condition s(B) and S(C) and (s(D) or f(E)) then i see that JOB_COND has several entries for JobA, for each job in the original condition. There are also pointers, Index values that define how the binary expression tree is built to evaluate the condition expression. Can you please let me know where and when exactly is the original condition provided in the input file, is parsed and inserted in the JOB_COND table. And where can i see this parser code. Thanks, -srinivas

Replies are listed 'Best First'.
Re^2: CA::AutoSys::Jil module
by runrig (Abbot) on Sep 18, 2008 at 15:07 UTC

    I'm not doing anything with the AutoSys database tables. This code does not create jobs or insert anything into or even directly access any database tables. I'm just parsing the output of the autorep and job_depends commands. job_depends can tell you the status of each condition in the condition string for existing jobs, and I'm parsing that in the get_status() method. The original purpose of that part of the module was to facilitate writing code to tell what condition or job might be holding up another job.

    The CA::AutoSys module on CPAN does get information straight from the AutoSys database.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://712170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2024-04-18 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found