Schedule a Batch Job

  1. Create a new batch job via FreeFileSync's main dialog: Menu → File → Save as a batch job...
     

  2. By default, FreeFileSync will show a progress dialog during synchronization and will wait while the results dialog is shown.
    If the progress dialog is not needed, enable checkbox Run minimized. This will also skip the results dialog at the end.

    Alternatively, if you want to see the progress, but not to wait at the results dialog, it's sufficient to only select the On completion action Close progress dialog.

    Note
    Even if the progress dialog is not shown at the beginning, you can make it visible later during
    synchronization by double-clicking the FreeFileSync icon in the notification area.
  3. If you don't want error or warning messages to interrupt synchronization, set Handle errors to either Ignore or Stop.
  4. If log files are required, enable Save log and enter a folder path.
    If the path is left empty, the logs will be saved under the current user's roaming profile,
    %appdata%\FreeFileSync\Logs.
    Additionally, FreeFileSync always stores the result of the last
    synchronization in file LastSyncs.log (up to a user-defined size, see Expert Settings).
  5. Set up the FreeFileSync batch job in your operating system's scheduler:

A. Windows Task Scheduler:

  • Open the Task Scheduler either via the start menu, or enter taskschd.msc in the run dialog (keyboard shortcut: Windows + R).
  • Create a new basic task and follow the wizard.
  • Make Program/script point to the location of FreeFileSync.exe and insert the ffs_batch file into Add arguments.
  • Use quotation marks to protect spaces in path names, e.g. "D:\Backup Projects.ffs_batch"

Note

  • In Windows 7 Program/script always needs to point to an executable file like FreeFileSync.exe even
    when the ffs_batch file association is registered. If an ffs_batch file was entered instead, the task would return with
    error code 2147942593 (0x800700C1), "%1 is not a valid Win32 application".
    For Windows 8 and later this limitation does not apply and you may enter the ffs_batch file path directly into Program/script and leave out Add arguments.
  • If you schedule FreeFileSync to run under a different user account, note that settings (e.g. GlobalSettings.xml)
    will also be read from a different path, C:\Users\<username>\AppData\Roaming\FreeFileSync, or in the case of the SYSTEM account from
    C:\Windows\System32\config\systemprofile\AppData\Roaming\FreeFileSync.

B. macOS Automator and Calendar:

  • Open Launchpad and run Automator.
  • Create a new Calendar Alarm.
  • Drag and drop the ffs_batch file on the workflow panel.
  • Drag and drop action Files & Folders/Open Finder Items and add it to the workflow.
  • Go to File → Save... and save the Automator job.
  • The Calendar app will start automatically with the Automator
    job scheduled to the current day. You can now select a different time
    for synchronization or make it a recurring task.

C. 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.
  • Fill the input field Run:
    <FreeFileSync installation folder>\FreeFileSync.exe <job name>.ffs_batch


D. Ubuntu Linux Gnome Scheduled Tasks:

    • Install Gnome-schedule if necessary: sudo apt-get install gnome-schedule
    • Search the Ubuntu Unity Dash for Scheduled tasks
    • Enter the command:
      <FreeFileSync installation folder>/FreeFileSync <job name>.ffs_batch
    • Select X application since FreeFileSync requires access to GUI

FreeFileSync同步定时执行的更多相关文章

  1. Oracle通过JOB定时执行存储过程实现两表数据比对

    需求: 第三方云平台管理的虚拟机会进行关机.资源扩展等操作,因此开关机状态.CPU.内存.磁盘大小等数据需要进行同步.这里第三方云平台是BMC CLM云平台,底层虚拟化平台是Vcenter.进行同步的 ...

  2. php定时执行操作及ob_flush()与flush()的使用

    版权声明:本文为博主原创文章,未经博主允许不得转载. http://blog.csdn.net/qq_38125058 一: 每隔30s执行一次,将字符串写入文件 // 30秒执行一次 ignore_ ...

  3. 【转】oracle定制定时执行任务

    本节摘要:本节介绍使用oracle自带的job来实现oracle定制定时执行任务. 1.引言 定制定时执行的任务有两种形式,系统级别和数据库级别, 从操作系统级别来讲, windows系统我们可以使用 ...

  4. Asp.net Global 定时执行

    在复杂的业务应用程序中,有时候会要求一个或者多个任务在一定的时间或者一定的时间间隔内计划进行,比如定时备份或同步数据库,定时发送电子邮件,定期处理用户状态信息,支付系统中定期同步异常账单等等,我们称之 ...

  5. java定时执行任务(一)

    需求: 经常遇到这样的需求:要求每天执行一次任务,执行任务时间是凌晨3点 实现: 为了便于检测,我假设的是下一分钟执行任务,每10秒重复执行.(对应现实项目:每天3点执行任务.那么就是下一个3点执行任 ...

  6. python定时执行方法

    1  time.sleep import time for i in range(5): print(i) time.sleep(10) 2 用shed import time import sche ...

  7. kettle - Linux下定时执行kettle作业

    Linux下实现kettle 自动同步数据 1.安装jdk tar -zxvf jdk-7u25-linux-x64.tar.gz -C /usr/share 2.配置java环境 vim /etc/ ...

  8. springboot--异步执行的方法及定时执行的方法

    让方法被调用后异步的执行 一般来说,要异步执行一个任务都是创建一个线程来专门干这个任务.在springboot中有 @Async 这个注解快速实现方法的异步执行.只需要两步:第一步: 在启动类上加上@ ...

  9. crontab定时执行datax

    记录下使用crontab,datax定时同步数据遇到的问题. 1.开始使用如下配置,死活不执行.网上说crontab环境便利的问题,设置了也没反应. [root@hxjk_test_mysql_red ...

随机推荐

  1. less算宽度 加~ width: calc(~"50% - 35px");

    less算宽度 加~  width: calc(~"50% - 35px");

  2. 把txt格式数据制作成xml数据

    txt格式数据: 代码: s1=""" <object> <name>{0}</name> <pose>Unspecifi ...

  3. Win10 启动64位IE浏览器——修改注册表方法

    修改注册表[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]下的: "TabProcGrowth"=DWOR ...

  4. CPP-基础:快速排序

    快速排序(Quicksort)是对冒泡排序的一种改进. 它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分 ...

  5. 尺取法 || POJ 2739 Sum of Consecutive Prime Numbers

    给一个数 写成连续质数的和的形式,能写出多少种 *解法:先筛质数 然后尺取法 **尺取法:固定区间左.右端点为0,如果区间和比目标值大则右移左端点,比目标值小则右移右端点               ...

  6. mybatis-5 手写代理

    @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Select { public St ...

  7. Java垃圾回收之老年代垃圾收集器

    1.Serial Old 收集器(-XX: +UseSerialOldGC, 标记-整理算法) 1.1 单线程收集,进行垃圾收集时,必须暂停所有工作线程 1.2 简单高效,Client模式下默认的老年 ...

  8. JS动态添加元素的事件动态绑定

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  9. SQL Server 2008 阻止保存要求重新创建表的更改

    取消[阻止保存要求重新创建表的更改]复选框

  10. [LOJ] 分块九题 7

    区间加法,区间乘法,单点查询. 洛谷线段树2 屡清加法乘法的关系,定义答案为 a*mut+add 对于整块: 新的乘w,mut和add都要乘w 新的加w,add加w //Stay foolish,st ...