Schedule a Batch Job


  1. Create a new batch job via FreeFileSync's main dialog:
    Menu->Advanced->Create batch job and save it, for example, as "C:\SyncJob.ffs_batch".
     

  2. If the batch job shall run without user interaction or as part of a batch script, make sure that no popup dialog stops the progress: Disable checkbox "Show progress dialog" to avoid blocking while showing the result after synchronization. Alternatively you can select the "On completion" action "Close progress dialog" located in synchronization settings. Note that even if the progress is not shown initially it can be displayed interactively at any time during synchronization, by double-clicking the corresponding systray icon.

     

  3. In order to prevent error or warning popup messages from stopping progress, set "Error handling" to either "Ignore errors" or "Exit instantly".

     

  4. Setup your operating system's scheduler

    1. Windows 7 Task Scheduler:

      • Go to Start and enter "taskschd.msc"

      • Create a new basic task and follow the wizard.

      • Make "Program/script" point to the location of FreeFileSync.exe and specify the ffs_batch file under "Add arguments".

    1. Windows XP Scheduled Tasks:

      • Go to Start → Control Panel → Scheduled Tasks and select "Add Scheduled Task".

      • Follow the wizard and select FreeFileSync.exe as program to run.

      • Make sure "Run:" is specified as: <FreeFileSync installation directory>\FreeFileSync.exe <ffs_batch file>

         

    2. Ubuntu Linux Gnome-schedule:

      • Install Gnome-schedule, if necessary: sudo apt-get install gnome-schedule


Note:
Beginning with Windows Vista, the command always needs to start with the path to "FreeFileSync.exe" even if file associations are set!
Else the task will return with error code 0xC1, "%1 is not a valid Win32 application".