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. Python matlab octave 矩阵运算基础

    基础总结,分别在三种软件下,计算 求逆矩阵 矩阵转置 等运算,比较异同 例子:正规方程法求多元线性回归的最优解 θ=(XTX)-1XTY octave: pwd()当前目录 ones() zeros( ...

  2. sftp ftp文件同步方案

    sftp ftp文件同步方案 1. 需求 1.1实现网关服务器的ftp服务器的/batchFileRequest目录下文件向徽商所使用的sftp服务器的/batchFileRequest目录同步文件 ...

  3. 「 HDOJ P2227 」 Find the nondecreasing subsequences

    # 题目大意 就是找不下降子序列的个数. # 解题思路 一开始想着先离散化,然后再做个 $dp$,发现用 $dp$ 的话时间复杂度是 $\text{O}(n^2)$ 的,稳稳超时. 这里说说 $dp$ ...

  4. [LOJ] 分块九题 8

    区间查询数值+整体赋值 维护tag代表整个区间被赋成了tag[i] 用pushdown操作,而不是修改了再check. 不压缩代码了,调起来心累,长点有啥不好. //Stay foolish,stay ...

  5. qt 窗体间通信

    利用qt的信号和槽,可以完成窗体间的通信,下面列出父子窗口利用信号和槽的相关代码. parent窗口: //parent.h #ifndef PARENT_H #define PARENT_H #in ...

  6. git 项目相关

    工具篇:Sourcetree 和 Git Bash Sourcetree Git一款非常好用的可视化工具,方便管理项目.下载地址 https://www.sourcetreeapp.com/ Git ...

  7. 学习PyQuery库

    学习PyQuery库 好了,又是学习的时光啦,今天学习pyquery 来进行网页解析 常规导入模块(PyQuery库中的pyquery类) from pyquery import PyQuery as ...

  8. CentOS 7下安装Composer + Laravel

    1.wget https://dl.laravel-china.org/composer.phar -O /usr/local/bin/composer chmod a+x /usr/local/bi ...

  9. linux中的grep命令用法

    原文请移驾:http://blog.csdn.net/greytree/article/details/428532 grep -- print lines matching a pattern (将 ...

  10. Vmware改成bridge方式联网

    1.在使用桥接之前,先在真机的'更改适配器设置中'禁用vmnet1和vmnet8 2.在VMware中定义一个桥接器 3.设置这个Linux虚拟机使用前一个步骤定义的桥接器--进入桥接器选择界面 4. ...