untitled
viviti

Srvany  

What is SrvAny?

SrvAny is a service shall program under windows platform, the program can be used to:

  • install a SrvAny service.
  • remove a service.
  • run as a SrvAny service.

  • SrvAnyprovide a service shell and run the application program every Time interval seconds/minutes. In case of Time interval value is 0, SrvAny with submit the application then stop running. In case of Time interval has a minus value, then SrvAny will delay before submit the application. The delay value will read from second part of Time interval value.

    Difference between Microsoft SrvAny and SimpleAuto SrvAny?

    Microsoft SrvAny SimpleAuto SrvAny
    Install need InstSrv Self Install
    Remove need InstSrv Self Remove
    Parameters Save in registry Read from arguments
    Max. No. of Installations One Any No. as You want
    Trigger Type Simple Trigger Simple Trigger or schedule with delay function


    how to use SrvAny?

    1:To install a service
    SrvAny -install ServiceName [-debug] Time-Interval <App.& params>
    Will install application as:

    SrvAny.exe [-debug] Time-Interval <App.& params>

    Means that System will run SrvAny as a service program and SrvAny provide a service shell and run the application program every Time-Interval seconds/minutes under SrvAny with/without debug informations dump.
      Time-Interval format: xxxx[s|S][d|Dyyyy[s|S]]
           xxxx        = run every xxxx minutes
           xxxx{s|S} = run every xxxx seconds (Min. value is 2 sec.)
           if xxxx less than 0 means delay xxxx or yyyy first
           yyyy = delay yyyy minutes first
           yyyy{s|S} = delay yyyy seconds first
        (*note use fully-qualified path name with .exe file name)
    2:To remove a service
    SrvAny -remove ServiceName
    3:To run an app as service program W/O dump (For Service mode only)
    SrvAny Time-Interval <App. with params>
    4:To run an app with informations dump in event log. (For Service mode only)
    SrvAny -debug Time-Interval <App. with params>
    *** Do not run SrvAny with the parameter format 3 and 4. Because 3 and 4 are use while SrvAny program  is running at Service environment.
    Examples

    1:To install a service
    SrvAny -install MyService -debug -10d2 C:/service/MyBatch.cmd
    SC config MyService start= auto
    net start MyService
    2:Uninstall a service
    SrvAny -remove MyService




    Web Hosting · Blog · Guestbooks · Message Forums · Mailing Lists
    Easiest Website Builder ever! · Build your own toolbar · Free Talking Character · Email Marketing
    powered by a free webtools company bravenet.com