Design of a scheduled task using crontab in CentOS
The at command is for a task that only runs once and runs cyclically scheduled tasks. In linux, cron (crond) is the system service. The Linux system has a lot of planned work, so this system service
Detailed explanation of the Crontab command for scheduled tasks
Preface
Crontab is Unix and Linux commands used to set periodic execution. It is a very common technology on the Internet. Many tasks are set to run cyclically in crontab. If crontab is
Excerpt from: http://www.centoscn.com/CentOS/help/2014/1030/4025.htmlObjectiveCrontab is UNIX and Linux used to set the periodic execution of instructions, is the Internet is very common technology, a lot of tasks will be set in the crontab loop
Linux task management tool-Crontab
Crontab is a tool used to execute routine tasks cyclically on the Linux platform. in Linux, cron (crond) is a system service used to control tasks, in Linux, many scheduled tasks need to be started. Therefore, this
CronTab task schedule format: ***** command score (0-59), hour (0-23), Day (1-31), month (1-12) week (0-6) description: 1. asterisks can match all characters 2, an integer, must be exact match 3, two integers separated by a short line, they match
Linux under the corresponding user, with the crontab-l command to see the user scheduled Tasks,-e can be edited, but its real files where it.
Taking CentOS as an example, its true position is: Under/var/spool/cron, a user who performs a scheduled
about crontab:The crontab command is commonly used in Unix-and Unix-like operating systems to set instructions that are executed periodically. The command reads the instruction from the standard input device and stores it in a "crontab" file for
Run the yum command in CentOS to install the crontab program of the scheduler.Overview
With the "Task Scheduler", you can schedule any script, program, or document to run at a very convenient time. In general, it is to regularly execute a script or
For example, set the restart method at every day:After successfully logging on to the server using the SSH tool, run the following command:Crontab-ePress the Insert key to enter the editing mode.Then, enter:0 5 ***/sbin/reboot(Pay attention to
This article explains the timing plan from the installation to an automatic duty exampleInstall Crontab:[Root@centos ~]# Yum Install Vixie-cron[Root@centos ~]# Yum Install Crontabs
DescriptionVixie-cron packages are Cron's main programs;The Crontabs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.