Answer the question
In order to leave comments, you need to log in
Why doesn't the program start using the task scheduler?
Good afternoon. There is a server 2008R2. I want to send an e-mail when certain events occur. At work, the programmer wrote a program that will send this very letter. When you manually start this program, everything works fine, but when you try to bind this program to the scheduler, the letter does not come. Although when you log in you can see that the program is running. I have already made the program run as administrator, so that the task is executed with the highest rights, it still does not work ((( By the way, the status of the task says that it was successfully completed. Help solve the problem
Answer the question
In order to leave comments, you need to log in
The solution to the problem turned out to be simple. By default, the programmer made the program, after launch, take the settings from the root from which the program was launched. When launched from the scheduler, the program decided that the settings file was located in C:\Windows\SysWOW64, and another email was indicated there. In general, they corrected the program and everything works out fine.
Is the program itself or the script running? If the program is mediocre, then try through the script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question