The issue that we are facing now is that Scheduled Synchronization is not working when the task scheduler executes a program for Google Apps.

The program runs as follows when within command prompt:

CD C:\Program Files\Google Apps Directory Sync\

sync-cmd.exe -a -o -c August2011.xml

We are running Windows Server 2008 so the referenced link does not really apply (http://www.google.com/support/enterprise/static/gapps/docs/admin/en/gads/admin/sync_schedule.html)

We've tried the following in the Windows Task Scheduler with not much luck:

Program/Script: "sync-cmd.exe -a -o -c August2011.xml" Add Arguments: Start in: "C:\Program Files\Google Apps Directory Sync\"

Program/Script: "C:\Program Files\Google Apps Directory Sync\sync-cmd.exe" Add Arguments: "-a -o -c August2011.xml" Start in:

Program/Script: "C:\Program Files\Google Apps Directory Sync\sync-cmd.exe" -a -o -c August2011.xml Add Arguments: Start in:

Which is correct? I wish there was just an advanced button as Google's documentation mentions. I look forward to some assistance on this task.

link|improve this question

0% accept rate
feedback

1 Answer

Have you tried placing the two commands "cd" and "sync-cmd.exe" into a batch (.bat) file, then scheduling the batch file to execute?

link|improve this answer
That's what I decided to do and all is working now. Thank you, sometimes another way of thinking can be so helpful. – Sean Aug 30 '11 at 14:17
That's good that it worked out for you. – user48838 Aug 30 '11 at 16:08
1  
@Sean If this answer resolved your issue, please mark it as accepted. – jscott Feb 16 at 0:28
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.