FreeFileSync同步定时执行
Schedule a Batch Job
- Create a new batch job via FreeFileSync's main dialog: Menu → File → Save as a batch job...
- 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. - If you don't want error or warning messages to interrupt synchronization, set Handle errors to either Ignore or Stop.
- 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). - 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"
- 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同步定时执行的更多相关文章
- Oracle通过JOB定时执行存储过程实现两表数据比对
需求: 第三方云平台管理的虚拟机会进行关机.资源扩展等操作,因此开关机状态.CPU.内存.磁盘大小等数据需要进行同步.这里第三方云平台是BMC CLM云平台,底层虚拟化平台是Vcenter.进行同步的 ...
- php定时执行操作及ob_flush()与flush()的使用
版权声明:本文为博主原创文章,未经博主允许不得转载. http://blog.csdn.net/qq_38125058 一: 每隔30s执行一次,将字符串写入文件 // 30秒执行一次 ignore_ ...
- 【转】oracle定制定时执行任务
本节摘要:本节介绍使用oracle自带的job来实现oracle定制定时执行任务. 1.引言 定制定时执行的任务有两种形式,系统级别和数据库级别, 从操作系统级别来讲, windows系统我们可以使用 ...
- Asp.net Global 定时执行
在复杂的业务应用程序中,有时候会要求一个或者多个任务在一定的时间或者一定的时间间隔内计划进行,比如定时备份或同步数据库,定时发送电子邮件,定期处理用户状态信息,支付系统中定期同步异常账单等等,我们称之 ...
- java定时执行任务(一)
需求: 经常遇到这样的需求:要求每天执行一次任务,执行任务时间是凌晨3点 实现: 为了便于检测,我假设的是下一分钟执行任务,每10秒重复执行.(对应现实项目:每天3点执行任务.那么就是下一个3点执行任 ...
- python定时执行方法
1 time.sleep import time for i in range(5): print(i) time.sleep(10) 2 用shed import time import sche ...
- kettle - Linux下定时执行kettle作业
Linux下实现kettle 自动同步数据 1.安装jdk tar -zxvf jdk-7u25-linux-x64.tar.gz -C /usr/share 2.配置java环境 vim /etc/ ...
- springboot--异步执行的方法及定时执行的方法
让方法被调用后异步的执行 一般来说,要异步执行一个任务都是创建一个线程来专门干这个任务.在springboot中有 @Async 这个注解快速实现方法的异步执行.只需要两步:第一步: 在启动类上加上@ ...
- crontab定时执行datax
记录下使用crontab,datax定时同步数据遇到的问题. 1.开始使用如下配置,死活不执行.网上说crontab环境便利的问题,设置了也没反应. [root@hxjk_test_mysql_red ...
随机推荐
- ERROR: HHH000091: Expected type: java.sql.Timestamp, actual value: java.lang.Integer
在将MySql的数据对应到Java的实体类的时候, 遇到了错误 关键点: Hibernate从mysql数据库查出来的Timestamp类型的数据, 会被Hibernate(或者是数据库连接池Drui ...
- python+selenium自动化登录dnf11周年活动界面领取奖励登录部分采坑总结[1]
背景: Dnf的周年庆活动之一,游戏在6月22日 06:00~6月23日 06:00之间登陆过游戏后可以于6月25日 16:00~7月04日 06:00领取奖励 目标:连续四天自动运行脚本,自动领取所 ...
- intellij idea关闭重复代码提醒
- day02五大运算符:逻辑运算符、成员运算符、算数、比较、赋值、
# -*- encoding: utf-8 -*-# print('hello 中国')# 变量# print(10 + 20 + 3 + 15)# print((10 + 20 + 3 + 15)* ...
- “xxxx”表 - 无法修改表。 不能将值 NULL 插入列 'xxxx'
问题 向已有表增加字段 执行下面sql,sql执行增加两个字段分别: articleTitle 正标题 [nvarchar](200) articleSubTitle 副标题 [nvarchar](2 ...
- swift详解之九---------------自动引用计数、循环引用
自动引用计数.循环引用(这个必须理解,必须看) 注:本文详细介绍自动引用计数,以及各种循环引用问题.一网打尽! 1. 自动引用计数原理 Swift 使用ARC机制来跟踪和管理你的内存,一般情况下,Sw ...
- 牛客网数据库SQL实战 1-11
1. 查找最晚入职员工的所有信息 CREATE TABLE `employees` ( `emp_no` ) NOT NULL, `birth_date` date NOT NULL, `first_ ...
- IDEA下maven工程的classpath
IDEA开发maven项目,此工程的classpath就是指src/main/java,src/main/resources,src/main/webapp,假如在main文件夹下新建一个文件prop ...
- java(List或Array数组)求交集、并集、差集, 泛型工具类
业务需要求不同类型的交集.并集.差集为避免代码冗余编写工具类. 注:list 转数组需传入数组,如果将原数组传入将会改变原数组的值,同时泛型数组又不可以实例化,解决方案:Arrays.copyOf(n ...
- RPM Package Manager
本文大部分内容来自鸟哥的Linux私房菜,并且由作者根据自己的学习情况做了一些更改,鸟哥原文链接 1. 程序的安装方式 源代码安装:利用厂商释出的Tarball 来进行软件的安装,每次安装程序都需要检 ...