Windows Service vs. Task Scheduler with startup trigger The Next CEO of Stack OverflowWindows 2008 R2 Task Scheduler FailureGracefully Terminate Console App Run Via Task SchedulerHow do I get a Task Scheduler startup trigger to delayWindows Server R2 Task Scheduler - Open Programs On StartupWindows service trigger start - difference manual vs automatic?Windows Task Scheduler - result code 0xC000005Windows 2003 Task Scheduler Not running in foregroundPause the Windows Task SchedulerWhy Windows is running programs via Task SchedulerJuicebox Job Scheduler as a Windows service?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
What is "(CFMCC)" on an ILS approach chart?
If the heap is initialized for security, then why is the stack uninitialized?
Calculus II Question
If a black hole is created from light, can this black hole then move at speed of light?
How did the Bene Gesserit know how to make a Kwisatz Haderach?
How to solve a differential equation with a term to a power?
Do I need to enable Dev Hub in my PROD Org?
Anatomically Correct Strange Women In Ponds Distributing Swords
Why do airplanes bank sharply to the right after air-to-air refueling?
How did people program for Consoles with multiple CPUs?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Contours of a clandestine nature
Bold, vivid family
Unreliable Magic - Is it worth it?
How do scammers retract money, while you can’t?
Return the Closest Prime Number
What does convergence in distribution "in the Gromov–Hausdorff" sense mean?
Preparing Indesign booklet with .psd graphics for print
Written every which way
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Why do professional authors make "consistency" mistakes? And how to avoid them?
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
Windows Service vs. Task Scheduler with startup trigger
The Next CEO of Stack OverflowWindows 2008 R2 Task Scheduler FailureGracefully Terminate Console App Run Via Task SchedulerHow do I get a Task Scheduler startup trigger to delayWindows Server R2 Task Scheduler - Open Programs On StartupWindows service trigger start - difference manual vs automatic?Windows Task Scheduler - result code 0xC000005Windows 2003 Task Scheduler Not running in foregroundPause the Windows Task SchedulerWhy Windows is running programs via Task SchedulerJuicebox Job Scheduler as a Windows service?
I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.
I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.
Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)
Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.
In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).
But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.
So my question is:
Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?
Has somebody experience with both methods and can explain better the advantages and disadvantages of both?
automation windows-service task-scheduler
This question has an open bounty worth +50
reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.
This question has not received enough attention.
I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.
add a comment |
I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.
I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.
Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)
Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.
In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).
But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.
So my question is:
Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?
Has somebody experience with both methods and can explain better the advantages and disadvantages of both?
automation windows-service task-scheduler
This question has an open bounty worth +50
reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.
This question has not received enough attention.
I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.
add a comment |
I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.
I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.
Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)
Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.
In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).
But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.
So my question is:
Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?
Has somebody experience with both methods and can explain better the advantages and disadvantages of both?
automation windows-service task-scheduler
I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.
I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.
Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)
Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.
In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).
But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.
So my question is:
Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?
Has somebody experience with both methods and can explain better the advantages and disadvantages of both?
automation windows-service task-scheduler
automation windows-service task-scheduler
edited Mar 13 '18 at 21:55
freginold
23116
23116
asked Mar 13 '18 at 11:09
user3220145user3220145
111
111
This question has an open bounty worth +50
reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.
This question has not received enough attention.
I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.
This question has an open bounty worth +50
reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.
This question has not received enough attention.
I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.
One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.
Both have options for recovery/restart after failure
and both can be configured for delayed start after startup.
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
add a comment |
I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
In that case, I used a resource kit for Windows Server 2003.
It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*
.
Still, a Google search shows many results:
1) Using sc.exe
https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe
https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters
Here is an example:
C:Documents and SettingsAdministrator> sc create asperacentral
binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
DisplayName= "Aspera Central"
start= auto
2) Using *svrany
:
This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).
3) Using srvstart.exe
:
https://www.rozanski.org.uk/software
A tool that I heard not long ago, never used.
I am sure there are many and many others, but I would give a try to sc.exe
of method 1.
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f901388%2fwindows-service-vs-task-scheduler-with-startup-trigger%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.
One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.
Both have options for recovery/restart after failure
and both can be configured for delayed start after startup.
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
add a comment |
Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.
One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.
Both have options for recovery/restart after failure
and both can be configured for delayed start after startup.
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
add a comment |
Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.
One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.
Both have options for recovery/restart after failure
and both can be configured for delayed start after startup.
Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.
One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.
Both have options for recovery/restart after failure
and both can be configured for delayed start after startup.
answered yesterday
apocalysqueapocalysque
33927
33927
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
add a comment |
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.
– Nacht
yesterday
add a comment |
I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
In that case, I used a resource kit for Windows Server 2003.
It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*
.
Still, a Google search shows many results:
1) Using sc.exe
https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe
https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters
Here is an example:
C:Documents and SettingsAdministrator> sc create asperacentral
binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
DisplayName= "Aspera Central"
start= auto
2) Using *svrany
:
This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).
3) Using srvstart.exe
:
https://www.rozanski.org.uk/software
A tool that I heard not long ago, never used.
I am sure there are many and many others, but I would give a try to sc.exe
of method 1.
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
add a comment |
I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
In that case, I used a resource kit for Windows Server 2003.
It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*
.
Still, a Google search shows many results:
1) Using sc.exe
https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe
https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters
Here is an example:
C:Documents and SettingsAdministrator> sc create asperacentral
binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
DisplayName= "Aspera Central"
start= auto
2) Using *svrany
:
This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).
3) Using srvstart.exe
:
https://www.rozanski.org.uk/software
A tool that I heard not long ago, never used.
I am sure there are many and many others, but I would give a try to sc.exe
of method 1.
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
add a comment |
I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
In that case, I used a resource kit for Windows Server 2003.
It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*
.
Still, a Google search shows many results:
1) Using sc.exe
https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe
https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters
Here is an example:
C:Documents and SettingsAdministrator> sc create asperacentral
binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
DisplayName= "Aspera Central"
start= auto
2) Using *svrany
:
This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).
3) Using srvstart.exe
:
https://www.rozanski.org.uk/software
A tool that I heard not long ago, never used.
I am sure there are many and many others, but I would give a try to sc.exe
of method 1.
I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
In that case, I used a resource kit for Windows Server 2003.
It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*
.
Still, a Google search shows many results:
1) Using sc.exe
https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe
https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters
Here is an example:
C:Documents and SettingsAdministrator> sc create asperacentral
binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
DisplayName= "Aspera Central"
start= auto
2) Using *svrany
:
This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).
3) Using srvstart.exe
:
https://www.rozanski.org.uk/software
A tool that I heard not long ago, never used.
I am sure there are many and many others, but I would give a try to sc.exe
of method 1.
answered Mar 13 '18 at 11:34
NihvelNihvel
23529
23529
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
add a comment |
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
1
1
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.
– user3220145
Mar 13 '18 at 11:49
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".
– Nihvel
Mar 13 '18 at 12:03
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f901388%2fwindows-service-vs-task-scheduler-with-startup-trigger%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown