Preface The Linux system is controlled by the system service crond. There are a lot of planned tasks on the Linux system, so this system service is started by default. The crontab command is used to set instructions to be executed periodically. This command reads instructions from the standard input device and stores them in the "crontab" file for later reading and execution. We can look at the status of the crond system service: From here we can see that the crond service is self-starting (enabled) and running (active) In addition, since users can set up scheduled tasks themselves, the Linux system also provides users with a command to control scheduled tasks: the crontab command. crontab Function: Add, query, and delete system scheduled tasks.
[root@localhost ~]# crontab -e #Enter the crontab editing interface. Will open vim to edit your work#Enter data, the basic format is: * * * * * command12345 1.Format explanation: Example: 2. Special Format Example 3. Import from and export to files #Import [root@localhost ~]# crontab filename #Export [root@localhost ~]# crontab -l >filename1234 Example: Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: Common failures and reasons for mysql connection failure
>>: Detailed explanation of the EXPLAIN command and its usage in MySQL
Table of contents Preface Understanding a stack a...
Find the problem Today, when I tried to modify th...
It is mainly a CSS style control and a META tag; C...
When the author was using MySQL to add a user, he...
This article mainly introduces the relevant solut...
Table of contents 1. Paradigm foundation 1.1 The ...
Table of contents 1. Get to know Teleport 2. Basi...
I reinstalled VMware and Ubuntu, but the command ...
Types of Indexes in MySQL Generally, they can be ...
CSS controls the printing style of web pages : Use...
Table of contents 1. Introduction to grub.cfg fil...
<br /> In the first and second parts, we int...
If you don't want to use javascript control, t...
This article example shares the specific code of ...
In HTML, the Chinese phrase “學好好學” can be express...