Task Schedule crontab
crontab command
-u: Specify a user, the current user without the -u option
-e: Develop planned tasks
-l: List scheduled tasks
-r: Delete scheduled tasks
View the configuration file for crontab:
[root@localhost ~]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# For details ...
Posted by frikikip on Thu, 16 Jul 2020 07:27:41 -0700
Linux-13-Inotify+Rsync real time data synchronization
Check before configuration
1. First, make sure that Rsync has been configured and the client can push files to the server
[test@C64-6-B ~]$ rsync -avzP ./syncdir rsync_backup@2.2.2.5::syner --password-file=/etc/rsync.password
sending incremental file list
syncdir/
sent 52 bytes received 12 bytes 42.67 bytes/sec
total size ...
Posted by Ralf Jones on Wed, 25 Dec 2019 12:18:46 -0800
rsync Remote Synchronization (Theory + Practice)
About rsync
A fast incremental backup tool
Remote Sync, remote synchronization
Support local replication or synchronization with other SsH, rsync hosts
Official website: http://rsync.samba.org
Configure rsync Source Server
rsync Synchronization Source
Refers to a remote server for backup operations, also known as a backup source
Configure ...
Posted by dico on Tue, 24 Dec 2019 08:54:33 -0800
rsync remote synchronization (Theory + Practice)
About rsync
A fast incremental backup tool
Remote SyncSupport local replication or synchronization with other SSH and rsync hostsOfficial website: http://rsync.samba.org
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
...
Posted by sangamon on Tue, 24 Dec 2019 00:13:41 -0800
Getting started with nginx Progress Controller
What is Ingress?
In the Kubernetes cluster, Ingress is a rule set that authorizes inbound connections to reach the cluster service, providing seven layers of load balancing capability. It can provide external accessible url, load balancing, SSL, name based virtual host, etc. for Ingress configuration. In short, Ingress says a set of rules that ...
Posted by Simplicity on Mon, 21 Oct 2019 02:37:14 -0700
lsyncd-Real-time Synchronization (Mirror) daemon
E-mail: 1226032602@qq.com
Official documents
https://axkibe.github.io/lsyncd/
https://github.com/axkibe/lsyncd
brief introduction
Lsyncd uses file system event interfaces (inotify or fsevents) to monitor changes to local files and directories. Lsyncd organizes these events for a few seconds and then ...
Posted by stilgar on Tue, 01 Oct 2019 20:25:17 -0700
inotify asynchronous monitoring mechanism
1. Introduction to inotify
Inotify is a powerful, fine-grained, asynchronous file system event monitoring mechanism (software), linux kernel from 2.6.13, joined the Inotify support, through Inotify can monitor the file system to add, delete, modif ...
Posted by urb on Thu, 12 Sep 2019 01:13:02 -0700
Configuration of linux synchronous server rsync+sersync
Synchronized server-side configurationmkdri /data/filedir
chown -R rsync:rsync /data/filedir
yum install rsync -y
//create profile
[root@node1 filedir]# vim /etc/rsyncd.conf
##rsync.conf config start
uid = rsync
gid = rsync
use chroot& ...
Posted by lena_k198 on Thu, 20 Jun 2019 11:44:31 -0700
Automatic hot update of swoole framework for monitoring files under Linux
Swoole runs in cli and then resides in memory. The RINT process can only be executed once during the entire lifecycle at startup time, after which all requests are completed within the third step. (This is one of the reasons why swoole is faster.) In this way, if the relevant php script is executed once, it will permanently reside in memory an ...
Posted by Azala on Wed, 19 Jun 2019 14:36:33 -0700
[NFS Project Actual Warfare II] Time-synchronous push backup of shared data in NFS
[NFS Project Actual Warfare II] Time-synchronous push backup of shared data in NFS
Label (Space Separation): Linux Service Architecture - Chen Siqi
This teaching note is a summary of my study and work career, which is the first draft (there are many imperfections), the original work, allowed to be reproduced, when reproduced, please be sure to ...
Posted by dgudema on Fri, 19 Apr 2019 18:15:33 -0700