linux uses Inotify to monitor directory or file status changes

Basic concepts: Inotify is a Linux feature that monitors file system operations such as read, write, and create. Inotify is sensitive, easy to use, and much more efficient than busy polling for cron tasks. Demand: 1. There is a file collection process that needs to collect the log files. The log files may be deleted or moved. 2. We all know ...

Added by ryanlwh on Wed, 01 Jan 2020 13:36:47 +0200

rsync remote synchronization - (actual combat!)

About rsync A fast incremental backup tool Remote Sync Support local replication or synchronization with other SSH and Rsync hosts Configure rsync source server rsync sync source Refers to the remote server of the backup operation, also known as the backup source Configure rsync source Basic thinking Set up rsync.conf configuration file and ...

Added by xeirus on Mon, 16 Dec 2019 07:21:35 +0200

rsync remote synchronization (instance!!!)

Overview of rsync synchronization: Remote Sync --- Remote synchronization, local replication support, or synchronization with other SSH, rsync hosts, similar to SCP but richer than scp. Official website: http://rsync.samba.org rsync synchronization features: 1. You can mirror the entire catalog tree and file system. 2. It is very easy to main ...

Added by clodagh2000 on Mon, 16 Dec 2019 01:14:10 +0200

Real-time synchronous sersync combat

Catalog Real-time synchronous sersync combat What is real-time synchronization Comparison of sersync and rsync+inotify sersync Project in Practice backup for rsync installation NFS Service End Deployment sersync Real-time synchronous sersync combat What is real-time syn ...

Added by davidforbes on Fri, 09 Aug 2019 13:10:02 +0300

Chapter 12 Timing Tasks

Contents of this article: 12.1 Configure Timer Tasks 12.2 crontab file Debugging 12.3 crond command 12.4 Task Schedule Accurate to Seconds 12.1 Configure Timer Tasks First, you need to understand the concepts: (1).crond is a daemon class program with a path of / usr/sbin/crond.The default will start in background mode, and crond will start in ...

Added by fonecave on Thu, 20 Jun 2019 19:51:07 +0300