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. flask学习规划

    实现基本登录注册: 留言板功能: 并且部署到服务器: 预计完成时间6.16:. 后续页面美化: 各种其他功能的探索一个月时间: 并行地学习python,java,css,html,js,sql 暑假预 ...

  2. JavaEE-07 过滤器和监听器

    学习要点 过滤器 监听器 过滤器Filter 过滤器的概念 过滤器位于客户端和web应用程序之间,用于检查和修改两者之间流过的请求和响应. 在请求到达Servlet/JSP之前,过滤器截获请求. 在响 ...

  3. Java中Synchronized和Lock的使用

    Lock的锁定是通过代码实现的,而 synchronized 是在 JVM 层面上实现的 synchronized在锁定时如果方法块抛出异常,JVM 会自动将锁释放掉,不会因为出了异常没有释放锁造成线 ...

  4. 点击增加删除class

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

  5. 解决SimpleDateFormat线程安全问题

    package com.tanlu.user.util; import java.text.DateFormat; import java.text.ParseException; import ja ...

  6. Linux硬盘的检测--smartctl详细介绍

    概述  随着硬盘容量.速度的快速发展,硬盘的可靠性问题越来越重要,今天的单块硬盘存储容量可轻松达到1TB,硬盘损坏带来的影响非常巨大.不同的文件系统(xfs,reiserfs,ext3)都有自己的检测 ...

  7. hdu1394(Minimum Inversion Number)线段树

    明知道是线段树,却写不出来,搞了半天,戳,没办法,最后还是得去看题解(有待于提高啊啊),想做道题还是难啊. 还是先贴题吧 HDU-1394 Minimum Inversion Number Time ...

  8. 单链表 C语言 学习记录

    概念 链接方式存储 链接方式存储的线性表简称为链表(Linked List). 链表的具体存储表示为: 用一组任意的存储单元来存放线性表的结点(这组存储单元既可以是连续的,也可以是不连续的). 链表中 ...

  9. win10 命令行无法直接ping的问题解决方法

    ping是在system32下的一个应用包里,设置完环境变量并保存之后若还是无法直接ping,可以考虑如下方法: 打开命令行窗口,键入以下命令: cd\ cd windows\system32 pin ...

  10. IDEA将Maven项目中src源代码下的xml配置文件编译进classes

    遇到这样的情况,maven项目启动报错,src中某个包下面的xml文件找不到. eclipse编译项目会自动将xml配置文件编译进classes,IDEA却不行 在报错项目的pom.xml文件中添加: ...