The task which I want to run runs fine manually. But when I set a time for it to run using "Scheduled Tasks", it doesn't run.
What may be causing the problem? How do I fix it?
The task which I want to run runs fine manually. But when I set a time for it to run using "Scheduled Tasks", it doesn't run.
What may be causing the problem? How do I fix it?
On the Scheduled Task's property screen, do you have the 'Run only if logged on' checkbox checked? Is the Enabled checkbox checked?
Double check the scheduled time/date that it runs, along with the user credentials it runs under. Also make sure the current/date time is set correctly.
The scheduled task will not run if it hasn't completed its previous run.
So, ensure that your scheduled tasks are not running longer than the interval set.
To stop your current running task you can
Right Click
→End Task
:Also, use
schtasks /query /v /fo list
for a detailed view of the "state" of your scheduled tasks.