Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Issues with Win32::Daemon

by rchiav (Deacon)
on Jan 09, 2004 at 21:15 UTC ( #320225=note: print w/replies, xml ) Need Help??


in reply to Issues with Win32::Daemon

You said that you've RTFM, but you seem to be under the impression that Win32::Daemon is only for installing the service. While you can install a service with Win32::Daemon, you need to use the functions of Win32::Daemon within your script that is going to become a service. Did you read all the examples at the bottom of the docs? They all show how it's used. If I take a script that writes to a file and use Win32::Daemon to install it as a service, it's going to tell me that it didn't start.

Replies are listed 'Best First'.
Re: Re: Issues with Win32::Daemon
by Grygonos (Chaplain) on Jan 09, 2004 at 22:00 UTC
    No I know that.. If you read my post it said I added the daemon functions to my script (implying the service itself) I'm not that dense. It was however the network drive issue. I had q: mapped to a local folder on my drive.. so that others could use it.. and i mapped it as well jsut for convenience. Switching it to the local filesystem folder fixed it.

    Grygonos
      You've since edited your node and added the code so it's more clear exactly what you're doing. The reason I got the impression that you wern't seeing everything that needed to happen was because you originally said that you added a couple of lines, which did not include notifying the service manager that the service started.

      Glad you got it fixed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://320225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-07-23 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?