[Windows] Schedule task to run X sec in X sec

Discussion in 'other software & services' started by m00nbl00d, Jul 17, 2012.

Thread Status:
Not open for further replies.
  1. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    Is anyone familiar with a task scheduler (open source would be great) that allows to schedule tasks x in x seconds, rather than only minutes/hours?

    Sadly, Windows Task Scheduler doesn't allow it.

    I need to monitor a process and see if it's running, and if it isn't, then it runs the process. I've done this with a PowerShell script, but now I need a way to run this script in shorter periods of time.

    Thanks
     
  2. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    Never mind. I think I discovered a way to do it - I rewrote my PowerShell script to check if 0 or 1 instance of the process is running, and if so run another instance of it. This way, it should create some fault tolerance... because, whenever one instance terminates/crashes, it will start another.
     
Loading...
Thread Status:
Not open for further replies.