http://qs1969.pair.com?node_id=326541


in reply to Re: SOAP::Lite and Win32::Daemon
in thread SOAP::Lite and Win32::Daemon

The problem with that is that I need this script to start at boot time and run without user intervention / ability for user to kill it off..

Replies are listed 'Best First'.
Re: Re: Re: SOAP::Lite and Win32::Daemon
by paulbort (Hermit) on Feb 04, 2004 at 19:00 UTC
    If you're running at least Windows 2000 Server, just go into scheduled tasks, and create one for this process. Set its run time to "At system startup" and don't allow it to interact with the console. Users won't see it unless they look at the process list, and it will run even when no one is logged in. That's how we run our Wiki script. Much easier than a service wrapper if you just need to get it running quickly.

    Of course a service is the right way to go if you want remote start/stop and stuff.

    --
    Spring: Forces, Coiled Again!