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

  • SEARCH
  • Home
  • 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 6651767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:03:02+00:00 2026-05-26T01:03:02+00:00

Stay with me for a minute: Process A is my main worker process. When

  • 0

Stay with me for a minute:

Process A is my main worker process. When it runs, it processes information. It can take anywhere from 30 seconds to 20 minutes to complete. There are multiple variations in this process, and it is not entirely stable. If it crashes, it’s not that big of a deal, because it can start where it left off next time it runs.

Process B is to be nothing but my starter process. I’d like it to run Process A at given intervals (like once every 5 minutes). If Process A is already running, then Process B should wait until the next interval to try. IE…

if(!ProcessA.isRunning)
    ProcessA.Run();
else
    Wait Until Next Interval to try

Process A is more or less written. I am figuring it will be its own .exe, rather than use multithreading to accomplish this.

My question is: How do I write Process B that runs a seperate .exe, and hooks into it so I can check to see whether or not it is running?

  • 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-26T01:03:02+00:00Added an answer on May 26, 2026 at 1:03 am

    windows task scheduler already does all of this

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

Sidebar

Related Questions

I generally stay away from regular expressions because I seldom find a good use
It seems that an erlang process will stay alive until the 5 sec default
How can I draw something in JPanel that will stay the same and not
Possible Duplicate: PHP Curl script to pull data from remote server every 10 minutes
How do you stay up-to-date when it comes to new software versions? Above all,
It doesn't stay where I want it, look at this: <div style=float: left; width:
how to set iPhone device to stay active ( to not lock ) while
Why cgi scripts have to stay in cgi-bin folder ? What is the difference
I have an old C++ COM component which has to stay in Visual Studio
I want to up the time my users will stay logged into my site

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.