Click here to Skip to main content
Licence 
First Posted 5 Apr 2000
Views 41,104
Bookmarked 12 times

A utility to stagger processes at Windows Startup

By | 13 Apr 2000 | Article
This utility uses very little system resources to launch apps base on a timer.
  • Download source files - 18 Kb
  • Introduction

    StartProcessesInOrder.exe is a utility for starting a number of processes at staggered time interval during Windows startup.

    This utility was written to meet the needs of my companies servers. The servers start several COM based applications during startup. Launching them all together sometimes resulted in initialization errors as well as delaying mission critical processes while they competed for resources with less important processes.

    The utility is simple, it uses an ini file to define what processes are to be submitted. Then it uses a timer to submit the processes at staggered intervals. The utility uses very little system resources to do its work.

    The utility consist of two main functions.

    1. LoadProcesses which loads items from StartProcessesInOrder.ini (sample in zip)
    2. LaunchProcesses which submits processes when appropriate

    It does not check to see if a process started, it does check to see if the exe existed before submitting it.

    Note. This code was not plagiarized from any other source. I maintain no rights or restrictions upon it. The source was written in VC 5.0.

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Phil McGahan



    United States United States

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    QuestionCan it do more? PinsussAutumn12:48 19 Apr '00  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web01 | 2.5.120517.1 | Last Updated 14 Apr 2000
    Article Copyright 2000 by Phil McGahan
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid