Linux Scheduled Tasks crontab

Source: Internet
Author: User

System timed Tasks

Croond service Management and access control

Systemctl Start Crond.service Open Crond Service

Crontab-e into Crontab Edit interface

* * * * * * tasks performed

The first "*" Hour of the second minute 0-59

The second "*" the first hour of the day 0-23

The third "*" one months of the first day 1-31

Fourth "*" months of the year 1-12

Fifth "*" a week of the week 0-7 (0 and 7 are both represented Sunday)

* represents any time. If the first "*" represents a single execution per minute

, which represents a discontinuous time, such as 0 8,12,16 * * * represents the execution of a command at 8, 12, and 16 points per day.

-Represents a continuous time range. such as 0 5 * * 1-6 for Monday to Saturday of the 5-point execution order

The */n represents how often it is executed every once in a while. such as */10 * * * * represents every 10 minutes

In crontab "%" has special meaning, need to add \ escape character

Linux Scheduled Tasks crontab

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.