the main processing loop of the service?while(1) { # delete all *.tmp files at c:\temp unlink( glob( "c:\\temp1\\*.txt" ) ); #keep_alive(); sleep(5); # and wait #last unless keep_alive(); Log("PRINTING"); }
In reply to Re^2: Perl script as windows service
by holli
in thread Perl script as windows service
by rockets12345
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |