Thread: [Taskforest-discuss] Job dependencies
Brought to you by:
enoor
From: Jay H. <jh...@om...> - 2010-04-15 00:50:45
|
http://www.taskforest.com/docs/configuring/families.html "EXAMPLE 2 - Job Dependencies" seems to skip over explaining the basics of what this means: 03 | J_ROTATE_LOGS() 04 | 05 | J_RESOLVE_DNS() Delete_Old_Logs() 06 | 07 | J_WEB_REPORTS() 08 | 09 | J_EMAIL_WEB_RPT_DONE() # send me a notification Is a job dependent on another job if it's listed on a line below the first? On the same line, but to the right? Both? Neither? Which of the jobs above are dependent on the others? If someone can explain that and give me a commit bit to your version control I'd be happy to attempt patches to your docs for your consideration. Thanks, j |
From: Aijaz A. <en...@us...> - 2010-04-15 01:45:10
|
Jay: Wow. I can't believe I left that out! You're right, there's a lot of explanation of the basic case that's missing. Thanks for pointing it out. Coming back to your question: A job is dependent on any job that appears on a line above it. In the example below, J_RESOLVE_DNS is dependent on J_ROTATE_LOGS. Delete_Old_Logs() is also dependent on J_ROTATE_LOGS. Since both are on the same line, the will start at the same time, and run in parallel. Both these jobs will only run if J_ROTATE_LOGS runs succesfully (or is marked successful after a failed run). Similarly, J_WEB_REPORTS will only run after both J_RESOLVE_DNS and Delete_Old_Logs both complete successfully. Finally, job dependencies are only valid for the section that the jobs are in (a section is a section of text in the family file delimited by a line of dashes ("-----------------")). See Example 4 for more details - There are 3 sections in that example. Does this help? Please let me know if my explanation isn't clear. Thanks for your offer to patch the docs. I don't have SVN set up on SourceForge yet, but if you can submit the patch via SourceForge or email me the text, I'll put it in with the appropriate attribution. Thanks again, Aijaz. On Wed, Apr 14, 2010 at 7:03 PM, Jay Hannah <jh...@om...> wrote: > http://www.taskforest.com/docs/configuring/families.html > > > > "EXAMPLE 2 - Job Dependencies" seems to skip over explaining the basics of > what this means: > > > > 03 | J_ROTATE_LOGS() > > 04 | > > 05 | J_RESOLVE_DNS() Delete_Old_Logs() > > 06 | > > 07 | J_WEB_REPORTS() > > 08 | > > 09 | J_EMAIL_WEB_RPT_DONE() # send me a notification > > > > Is a job dependent on another job if it's listed on a line below the first? > On the same line, but to the right? Both? Neither? > > > > Which of the jobs above are dependent on the others? > > > > If someone can explain that and give me a commit bit to your version > control I'd be happy to attempt patches to your docs for your consideration. > > > > > Thanks, > > > > j > > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Taskforest-discuss mailing list > Tas...@li... > https://lists.sourceforge.net/lists/listinfo/taskforest-discuss > > |
From: Jay H. <jh...@om...> - 2010-04-15 02:10:12
|
That is extremely helpful. Thank you. So the whitespace in any given line (how far anything is indented) is not significant? (Staring at the examples I was beginning to wonder if you were enforcing Python-style whitespace logic...) I'm hoping to give TaskForest a try on a project at @work soon. Looks like a great platform for some of the recurring job management currently hassling me. :) j |
From: Aijaz A. <en...@us...> - 2010-04-15 02:53:48
|
You're welcome. The whitespace is not significant. It's only for readability. Feel free to ask if you have further questions at all Thanks, Aijaz. On Wed, Apr 14, 2010 at 9:08 PM, Jay Hannah <jh...@om...> wrote: > That is extremely helpful. Thank you. > > > > So the whitespace in any given line (how far anything is indented) is not > significant? (Staring at the examples I was beginning to wonder if you were > enforcing Python-style whitespace logic...) > > > > I'm hoping to give TaskForest a try on a project at @work soon. Looks like > a great platform for some of the recurring job management currently hassling > me. :) > > > > j > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Taskforest-discuss mailing list > Tas...@li... > https://lists.sourceforge.net/lists/listinfo/taskforest-discuss > > |