Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 383925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:19:53+00:00 2026-05-12T15:19:53+00:00

I have a set of batch-processing tasks that need to be run in an

  • 0

I have a set of batch-processing tasks that need to be run in an automated way on a weekly basis. The weekly basis part isn’t hard: I’m using cron to kick things off. The tasks are basically anything that can be initiated with a shell script. The tricky part is that my tasks have a non-trivial dependency graph (B depends A, C depends on B, D depends C and B, etc…). I’m interested in having task monitoring so that I receive notification when something goes wrong with a task. Even better, I’d like to be able to easily resume the task graph from the failure point without rerunning the whole thing.

Now, I can imagine writing something myself to make all this happen, but I have to imagine that someone has already gone through the trouble. Are there any existing libraries or frameworks that would make this task easier? Ideally, I’m looking for something to run in a linux/unix environment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:19:53+00:00Added an answer on May 12, 2026 at 3:19 pm

    I would suggest a Makefile to solve your problems.

    You’ll have to have marker files for the tasks to indicate when they were last completed, and work out some dependencies for the ‘root’ tasks (those without an internal dependencies).

    A : 
        <A's tasks>
        touch A
    
    B : A
        <B's tasks>
        touch B
    
    C : B
        <C's tasks>
        touch C
    
    D : B C
        <D's tasks>
        touch D
    

    Now you just need to work out why A has to be re-done and you’ll be able to cron doing this make file and just the appropriate bits will be re-done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes I have a batch file like this: Action.bat : Set PATH=%PATH%;C:\Some\Folder\I\Need foo.exe Bar1
I have a data set that looks like: Files Batch filepath1.txt One filepath2.txt One
I have a variable define as: set filePath=.\file.txt I'm writing a windows batch file.
Since batch doesn't really have ints, I have to work around it with set
We have set up a SharePoint meeting workspace (using WSS 3.0) for our weekly
I have a set of three automatically generated batch files, summed up below arbitrary.bat
I have set up an environment which should run my azure-project locally. It begins
I have following batch file code: @echo off SET INSTALL_PATH=c:\program files\ :ask_again if exist
I have batch file that I am inheriting and I cannot get to work
I have one set of source files from which I need to generate multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.