mmoya
asked on
Enabling Scheduled Tasks Windows 2008 SCHTASKS
Question - The syntax and name of the scheduled task is correct but I get error message: ERROR: The system cannot find the file specified. Please help! Thank you.
SCHTASKS /RUN /TN "TEST"
SCHTASKS /RUN /TN "TEST"
what is the full path to the task to be run?
ASKER
The task is stored on C:\Folder\run.cmd
Name of scheduled task = Test
Name of scheduled task = Test
In Server 2008 check the SchedLgU.txt file (SystemRoot\SchedLgU.txt) for errors.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SchedLgU. doesnt report any errors...
Still not working ran the following:
C:\Windows\System32>schtas ks.exe /run /tn "\Tasks\Microsoft\Windows\ test"
ERROR: The system cannot find the path specified.
Test task name is in that directory...
Still not working ran the following:
C:\Windows\System32>schtas
ERROR: The system cannot find the path specified.
Test task name is in that directory...
ASKER
It worked. Had the path incorrect... Used schtasks.exe /run /tn "\Microsoft\Windows\test"
Thank you!
Thank you!