hello monks!
I have read the documentation about this module but I register many understanding problems:
1)on my machine the module only work if it is in Win32/service/daemon (??)
2)in the dave roth example in th official page of win32
daemon there are 2 examples: the first to install a service: can I install another script as a daemon with this script? The second is a skeleton prototype of a service: there is a place commented that tell insert here the main code: I have tried to insert a stupid test code like:
sleep 5; system 'net send Administrator HELLO!';
but the skeleton code then stop the service. Why?
May be I need 2 scripts? the first with the control of the state + the main code and a second to install the service?
In any case when the Daemon tell me that the service is started succesfully I can't start it for reasons of timely or log on (it not accept my admin usr\pwd!)
any example or suggestion(coming back to the field?)?
greetings from sweet-sunny roma
lor*
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.