The crontab of Linux commands

Source: Internet
Author: User

The crontab of Linux commands

@ (LINUX_DAY_DAY_UP) [Linux]

    • The crontab of Linux commands

The crontab is used to set the instructions that are executed periodically.
We can use it in Linux crontab -e to edit the crontab configuration file to set the task.
The format is:

Minute (0-59) hour (0-23) Day (1-31) month (1-12) week (0-6,0 stands for sunday ) command

Example

1* * * *Command#每个小时的第一个分钟执行命令command0, -, +* * * *Command#每个小时的第0, 20, 40 minutes Execute command0 1* * *Command#每天第1个小时整执行命令command2 3*/7* *Command#每隔七天的凌晨3点2分执行命令command*5* * * *Command#每小时的5, 15,25,35,45,55 minutes to execute command0 1-3* * *Command#每天的凌晨1, 2, 3 o'clock execute command all at once.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The crontab of Linux commands

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.