Linux under Crond scheduling

Source: Internet
Author: User

Edit/var/spool/cron/root File

Basic format:
* * * * * command
Time-sharing Weekly command

1、每分钟执行一次 * * * * *  2、每隔一小时执行一次 0 * * * * or* */1 * * * (/表示频率) 3、每小时的15和30分各执行一次 15,45 * * * * (,表示并列) 4   8  - 11   15    45   15,45 8-11 * * * command (-表示范围) 5   8   point to  11   dot  3   and section  15   minutes execution  3,15 8-11 * * 1 command 6   8   point to  11   dot  3   and section  15   minutes execution  3,15 8-11 */2 * * command

You can open the/var/log/cron file to see if the task is functioning properly.

Reference: Perform a scheduled task under Linux crontab command detailed

Linux under Crond scheduling

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.