Scheduling batch jobs in Server 2008 R2 Enter

Get help for specific problems
Posts: 4
Joined: 27 Aug 2010

marlondyer

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
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

What do you mean by built-in task scheduler? RealtimeSync? Where is this error
message coming from? What versions are you using?
Posts: 4
Joined: 27 Aug 2010

marlondyer

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.
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

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.
Posts: 4
Joined: 27 Aug 2010

marlondyer

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.
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

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.
Posts: 4
Joined: 27 Aug 2010

marlondyer

I will give that a ry and report my results