Asked by:
I set up SyncToy 2.1 in Task Scheduler but it isn't working?

Question
-
I'm using SyncToy 2.1 in Windows 7. I have 2 different folder pairs set up. The 1st one is called Adobe Folders Sync and the 2nd is System Backup. They both work perfectly fine when ran manually. I set it up to automatically sync and it works great for the 1st folder pair but it doesn't do the 2nd folder pair. Yes I did check the box that that says Active for run all. I checked out the log and this is what it says after an automatic sync:
SYNC: 08/01/2010 19:53:47:414: -------------------------------------------------------------------------
SYNC: 08/01/2010 19:53:47:432: Starting SyncToyCmd, version 2.1.0.0, built 10/19/2009 2:58:16 AM.
SYNC: 08/01/2010 19:53:49:132: Started scanning directory : C:\Users\Jordan\Desktop\Shortcuts\Adobe\
SYNC: 08/01/2010 19:53:49:133: Started scanning directory : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe\
SYNC: 08/01/2010 19:53:49:390: Stopped scanning directory : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe\
SYNC: 08/01/2010 19:53:49:700: Stopped scanning directory : C:\Users\Jordan\Desktop\Shortcuts\Adobe\
SYNC: 08/01/2010 19:53:50:307: Preview of Adobe Folders Sync (C:\Users\Jordan\Desktop\Shortcuts\Adobe\, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe\) in time 00:00:01:111.
SyncToy action was 'Synchronize'
Found 0 actions to perform.
Found 44 files that did not require action.
Analyzed 39.6 files per second.
Avoided copying 181,070 bytes in 44 files.SYNC: 08/01/2010 19:53:51:367: SyncToy run of Adobe Folders Sync (C:\Users\Jordan\Desktop\Shortcuts\Adobe\, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe\) completed at 8/1/2010 7:53:51 PM.
SyncToy action was 'Synchronize'.
SyncToy options were:
Active for run all
All files included
No files excluded
Do not check file contents
Include read-only files
Include hidden files
Include system files
Do not backup older files
All subfolders included
SyncToy run took 00:00:01:056.
Copied 0 bytes in 0 files in 00:00:01:56.
Bytes per second 0.0, files per second 0.0.
Avoided copying 181,070 bytes in 44 files that did not require action.SYNC: 08/01/2010 19:53:52:625: Started scanning directory : C:\Users\Jordan\
SYNC: 08/01/2010 19:53:52:625: Started scanning directory : \\DESKTOP\System Backup\So it started scanning but never did anything after that. Can you help please?
Thank you!!
Monday, August 2, 2010 2:09 AM
All replies
-
Hi,
I ran into the same problem on Windows 7 and 2x Windows server 2008 R2. So I did a bit of testing and after about a hour I thought "well this is a command line utility, So what if I run CMD as program and "c:\program files\synctoy 2.1\synctoycmd.exe" -R TEST as arguments."?
tried is and that did a bit more............ but not enough because though everything seemed to be running but nothing was copied. not exactly what I wanted.
Then tried it again with the scheduler and "c:\program files\synctoy 2.1\synctoycmd.exe" as program and -R TEST as arguments and strangely enough all seems to be working now. Now I have to wait until the scheduled task runs this night to be sure but starting it manualy in the schedular now works on both machines.
Weird!
Panicz
Thursday, August 5, 2010 12:12 PM -
PS Make sure you set the correct operating system for the task!!Thursday, August 5, 2010 12:16 PM
-
Sorry for spamming but I found out that synctoy is case sensitive.
running "c:\program files\synctoy 2.1\synctoycmd.exe" -R TEST manually from command prompt failed
running "c:\program files\synctoy 2.1\synctoycmd.exe" -R Test works.
Thursday, August 5, 2010 1:05 PM -
Sorry again but found out another thing.
I have 2 servers as stated before. what I did not mention is that they are DC's. Also have a VM (not a DC) At first it did not work on both and then I got it to work on 1 server.
folder pair Test
left dir: c:\temp
right dir: d:\temp2
both LOCAL disks
Got that to work once I figured out a few things like Synctoy being case sensitive for its folderpair
Tried to recreate it on server 2 and could not.
folder pair Test2
left dir: d:\temp
right dir: v:\temp2 (mapped network drive)
WON'T DO IT and keeps failing. manually running as indicated before works (by the way with both -R and -r )
Tried to recreate it on server 2 and could not.
folder pair Test2
left dir: d:\temp
right dir: \\myserver.domain.nl\share\temp2
WON'T DO IT and keeps failing. manually running as indicated before works
tried it with conditions like netwok available etc but won't do it.
Also tried (on a 64bit machine) both 64 bit and 32 bit version of synctoy 2.1. again both work from command line and from synctoy itself. but not scheduled
Will now test it on the VM and let you know later
Br Panicz
Thursday, August 5, 2010 1:53 PM -
and same result with the VM
my conclusion... little bug .... somewhere.... !
case closed for me
Br Panicz
Thursday, August 5, 2010 2:02 PM -
PS I changed my name from U EnV Mee to hipwelljo.
Very interesting. I didn't change anything and when it would automatically try to sync, the cmd would pop up but it would stay black. So I just went in and edited it to say -R System Backup instead of just -R and tested it. The cmd popped up and immediately disappeared but I did see some text. So I changed it back to just -R and tested it and it worked for the pair called Adobe Folders Sync but not System Backup, just like before.
Please help!
Sunday, August 15, 2010 5:41 AM -
Works for me under Win XP Pro.
I added a space after the -R argument.
Open Sync Toy and read the log file to see everything that happened.
Strange but true!
Thursday, August 19, 2010 1:38 PM -
Now working OK on my Vista machine.
If you have multiple pairs, it seems you have to run every sync pair at last once manually before task scheduler will include it.
Saturday, August 21, 2010 12:14 PM -
Sorry I have not replied in a long time but I have one suggestion for you.
Try if you can run a scheduled ackup to a file on a share. Probably you cannot!
I got it running with a script but please keep in mind that you need quotes ( " ") around program files because of the space between the two words.
Look for more suggestion in the forum for the backup problem.
good luck
Panicz
Friday, August 27, 2010 7:25 AM