Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 13, 2012 03:40 PM by swapna.anu
Jan 13, 2012 03:30 PM|LINK
hi all, I need to start windows service via a windows task scheduler. I have written a batch file and create task to run the batch file. but this is not actually starting the service.
call net start "mywindowsServiceName" NOR net start "IcDomainsRenewal" works . but if I double click batch file that start windows service.
also just to be aware windows task doe not have time ticker, I just need to run this service first of each once a month thats why thought about windows task scheduler rather than having time ticker to check each day.... any ideas to solve the problem or
improve windows service without task scheduler.... please
Jan 13, 2012 03:40 PM|LINK
I created windows service once and used the same process to schedule it. It works fine even now.
In the batch file I have only the below line to start the service.
NET START "servicename"
and for stopping another batch file with below line of code
NET STOP "Servicename"
Followed the below link to schedule it to run every day. You can even schedule it for monthly
Hope this helps.