QA Stooge Posted April 5, 2010 Posted April 5, 2010 I made a script which listens to a local directory. If any files change within, or are added to, that directory, then the script runs a set of operations (using WinSCP) to connect to a remote server and upload/update the files.So now I want to set it up as a Windows service (in WinXP).I made it a service with the SC.exe, which was easy enough (I've done it with some Java Servlets before). My problem is not using SC to create a service. That I've done.When I try to start this service, it thinks about it for awhile and I get Error 1053: The service did not respond to the start or control request in a timely fashion.What could be causing this? Is there something I need to do with my script to make it "handlable" by the windows service controller? Perhaps something in the _WinAPI library?Thanks in advance.
blakel Posted April 6, 2010 Posted April 6, 2010 See if any of these help http://www.autoitscript.com/forum/index.php?showtopic=81880&hl=service&st=0 http://www.autoitscript.com/forum/index.php?showtopic=80201&hl= http://www.autoitscript.com/forum/index.php?showtopic=42443&hl= If not there are a lot of posts on running as a service
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now