• service auto start/stop

    Author
    Topic
    #359406

    Anyone know how to schedule a service to start and stop at certain times of the day? I want to start a service in the morning, and have it shut off for a few hours at night while the data is backed up. I’m using Firedaemon to make an app a service.

    Viewing 0 reply threads
    Author
    Replies
    • #538695

      Task scheduler should do what you want on a local computer:
      How”]Q235536 Task Scheduler Service on Windows NT

      For remote services:
      Using”]Winmag2000 forum, and a pictorial example here.

      • #538797

        Thanks. While any one of those KB’s wasn’t a complete solution, they did, as a trio, hint at a solution. This was a forehead slapper

        For posterity I’ll post what I did.

        Remember LanMan? Well I used the “net” commands here. I created two batch files, netstart.bat and netstop.bat.

        NetStart.bat=
        net start {“service name”}

        Net Stop.bat =
        net stop {“service name”}

        Then I used task scheduler, included with IE 4.0 and up (does not exist in NT 4 natively), to run those batch files when I want to stop and start the service.

    Viewing 0 reply threads
    Reply To: service auto start/stop

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: