Task Scheduler gets it wrong

KaiJaeger

New member
Local time
12:13 AM
Messages
5
I've created a task in the Task Scheduler. It's supposed to run a particular BAT file every night at 4:00. The file runs fine when executed in a console. What it does is simple enough: start robocopy to copy any changed files to a network drive.

Because it is a network drive I cannot use "System" or "Backup" as a user because they won't have access to that network drive. I checked this and got indeed "Drive not found".

But when I use my own user-id together with the checkbox "run whether user is logged on or not" ticked the task manager keeps telling me that the task is going to run at the defined time but it doesn't. I'm not only missing the action as such (copying changed files and writing to the log file) but it doesn't turn up in the history tab or in the "Last Run Time" column either.

But why not?

Advice is very welcome.
 

My Computer

OS
Windows 7
Where is this network drive? If on another computer, is that computer "awake" at the time? If not, you may have enable "Wake on LAN" in the BIOS.

You might try setting it to run when you can be sitting in front of the computer (and awake yourself ;)) to see if anything is happening.
 

My Computer

Computer Manufacturer/Model Number
BrightWorks Systems B4
OS
Windows 7 Profession 64-bit
CPU
Intel Core i7-860 Quad
Motherboard
Gigabyte P55-UD4P
Memory
Mushkin 4x2Gb PC12800
Graphics Card(s)
Gigabyte GTX260 896Mb
Sound Card
Integrated 7.1 HD Dolby
Monitor(s) Displays
2 Samsung 2220wm-HAS 22"
Screen Resolution
1680 x 1050 | 1680 x 1050
Hard Drives
WD HE 1Tb
PSU
Corsair TX-750W
Case
Ultra M998
Cooling
OEM
Keyboard
MS Wireless Comfort 5000
Mouse
MS Wireless 5000
Internet Speed
Cable and pretty darn fast
I had a similar problem using WinRAR to create a backup on a networked drive. The cure was to specify the path to the drive in UNC format rather than by the drive letter assigned to it.
 

My Computer

Computer Manufacturer/Model Number
Self build
OS
Windows 7 Pro 32bit
CPU
AMD Phenom triple core - 2GHz
Motherboard
ECS GF8100VM-M5
Memory
2GB
Graphics Card(s)
Nvidia GeForce 8400 GS
Sound Card
Onboard Realtek HD audio
Monitor(s) Displays
2 x LG Flatron L1718S
Screen Resolution
1280x1024
Hard Drives
1 x Seagate 1TB - partitioned 40GB (C:) - 60GB (D:) - 830GB (E:)
1 x Seagate 1TB - USB external
PSU
400W
Case
Generic
Cooling
2 x fans
Keyboard
Logitech cordless
Mouse
Logitech cordless
Internet Speed
8Mbit ADSL
Other Info
1 x DVD writer
1 x Card reader
Thanks guys but the network drive is not the problem; the task does not start. The Task Scheduler does clearly point this out. To be sure I've put a first line
echo "hello" > c:\task.txt
into the batch file. As a result there is such a file in case the user is "System" or "Backup" but not when it's me.
 

My Computer

OS
Windows 7
Back
Top