The Way to Shell Script Learning--01

Less keyword commands used: 1. at: (automatic) represents the automatic execution of a task Example: ``` at 10am mar 31 2015 at> echo "taxes due" At> ^D (ctrl+D for storing the task) ``` atq: Show scheduled tasks atrm job-d: Delete a set tas ...

Posted by carleihar on Wed, 04 Sep 2019 04:33:42 +0200

Bilog and relay log cleaning in MySQL

1. Bilog cleaning of MySQL server 1.1 Using MySQL parameter control expire_logs_days Setting the expiration date of binary log, the log after the specified number of days will be deleted automatically and can be modified dynamically. If a non-zero value is set, binlog file s that exceed the defined number of days may be cleaned up when mysqld ...

Posted by elacdude on Wed, 07 Aug 2019 15:30:07 +0200

Asynchronous Task Artifact Celery Quick Start Tutorial

In the process of running programs, we often encounter time-consuming and resource-consuming operations. To avoid them blocking the main program, we often use multithreaded or asynchronous tasks.For example, in Web development, when a new user is registered, we usually send him an activation email, which is an IO blocking task. If you put it di ...

Posted by teng84 on Mon, 24 Jun 2019 18:34:46 +0200

Preview Tasks + Class Notes for Lesson 0418

10.19 iptables rule backup and recovery service iptables save saves rules to/etc/sysconfig/iptables Iptables-save > target file Save rules to another file [root@arslinux-01 ~]# iptables-save > /tmp/ipt.txt [root@arslinux-01 ~]# cat !$ cat /tmp/ipt.txt # Generated by iptables-save v1.4.21 on Wed Apr 17 19:56:24 2019 *filter :INPUT ACCEP ...

Posted by phpPunk on Sat, 11 May 2019 14:16:22 +0200