error starting batch job from task scheduler windows 7
when you start not from the scheduler it's ok
when run from the scheduler windows 10 it's ok
error starting batch job from task scheduler windows 7
- Posts: 5
- Joined: 31 Oct 2018
- Posts: 143
- Joined: 8 Mar 2017
Can you say what the 'error' is when you try to launch via Task Scheduler in Win7?
What is reporting an error? Windows? FFS? Or both?
What is reporting an error? Windows? FFS? Or both?
- Posts: 5
- Joined: 31 Oct 2018
Yes, I'm trying to run a batch file from Task Scheduler windows 7. if you just start the batch file, not from the scheduler, then everything works. And from the task scheduler in Windows 10, the batch file works.Can you say what the 'error' is when you try to launch via Task Scheduler in Win7?
What is reporting an error? Windows? FFS? Or both? Radish, 31 Oct 2018, 16:56
here are the screenshots
- Posts: 143
- Joined: 8 Mar 2017
Hi Aleksei,
I am on Windows 7 and tried it too and couldn't get it to work.
Then I looked at the FFS Manual Page for Schedule Batch Jobs. The solution is there -- I tried the solution mentioned and then the WhatEverName.ffs_batch runs without issues. Basically, on Windows 7, when you deal with the "Actions" dialogue in Task Scheduler you need to point the Scheduler to the FreeFileSync.exe on your system and then add the WhatEverName.ffs_batch as an argument.
If you follow the instructions in the Manual page you will get it to work on Windows 7 without problems. Just follow the special instructions for Windows 7.
All the above said you should know that by default Task Scheduler will launch any process it launches with priority Below Normal. I have no idea if this will affect the priority of the batch file once FreeFileSync.exe launches that. However, to see what I'm talking about have a look at this webpage, which also explains how to fix this (should you so desire), it's very easy to fix: Setting a scheduled task process priority
Hope this helps.
I am on Windows 7 and tried it too and couldn't get it to work.
Then I looked at the FFS Manual Page for Schedule Batch Jobs. The solution is there -- I tried the solution mentioned and then the WhatEverName.ffs_batch runs without issues. Basically, on Windows 7, when you deal with the "Actions" dialogue in Task Scheduler you need to point the Scheduler to the FreeFileSync.exe on your system and then add the WhatEverName.ffs_batch as an argument.
If you follow the instructions in the Manual page you will get it to work on Windows 7 without problems. Just follow the special instructions for Windows 7.
All the above said you should know that by default Task Scheduler will launch any process it launches with priority Below Normal. I have no idea if this will affect the priority of the batch file once FreeFileSync.exe launches that. However, to see what I'm talking about have a look at this webpage, which also explains how to fix this (should you so desire), it's very easy to fix: Setting a scheduled task process priority
Hope this helps.
- Posts: 5
- Joined: 31 Oct 2018
yes thanks, your answer helped, everything worked