I have created a simple mirroring batch job. However when i try to use the
built in task scheduler i am consistently getting the same error "%1 is not a
valid win32 application".
I have tried various switches and arguments and no success. Any assistance
would be appreciated. My Platform is server 2008 R2 enterprise x64
Scheduling batch jobs in Server 2008 R2 Enter
- Posts: 4
- Joined: 27 Aug 2010
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
What do you mean by built-in task scheduler? RealtimeSync? Where is this error
message coming from? What versions are you using?
message coming from? What versions are you using?
- Posts: 4
- Joined: 27 Aug 2010
Server 2008 has a built in task scheduler, which is similar to what you would
find in windows xp for example. The task scheduler is what is generating the
error. The task is set up to run every hour and copy/mirror left to write.
thats how the freefilesync batch job was created.
find in windows xp for example. The task scheduler is what is generating the
error. The task is set up to run every hour and copy/mirror left to write.
thats how the freefilesync batch job was created.
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
Did you specify "%1" somewhere? A good approach would be to first make some
simple task run via task manager (by using some google advice) and if this
works, then try to schedule the FFS batch job.
simple task run via task manager (by using some google advice) and if this
works, then try to schedule the FFS batch job.
- Posts: 4
- Joined: 27 Aug 2010
All other tasks on that system run as schedule from the simple to the more
complex. The "%1" is not included in any of the commands or arguments for the
task.
complex. The "%1" is not included in any of the commands or arguments for the
task.
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
You could try different ways of invoking the executable like:
c:\programs\FreeFileSync\FreeFileSync.exe c:\task.ffs_batch
or directly
c:\task.ffs_batch
In general there shouldn't be any difference in starting FFS compared to any
other executable.
c:\programs\FreeFileSync\FreeFileSync.exe c:\task.ffs_batch
or directly
c:\task.ffs_batch
In general there shouldn't be any difference in starting FFS compared to any
other executable.
- Posts: 4
- Joined: 27 Aug 2010
I will give that a ry and report my results