Linuxcrontab schedule usage experience

Source: Internet
Author: User
Linux general technology-Linux programming and kernel information. For details, see the following. Today, a system schedule is set up, but it is set according to your own understanding, that is, it does not run at the time set by me. I searched a lot on google and many friends asked me, why does my schedule run at the time I set? Later I checked it carefully and thought that a schedule provided by the linux system could be used as a reference.

[Root @ router ~] # Cat/etc/crontab
SHELL =/bin/bash
PATH =/sbin:/bin:/usr/sbin:/usr/bin
MAILTO = root
HOME =/

# Run-parts
01 * root run-parts/etc/cron. hourly per hour
02 4 *** root run-parts/etc/cron. daily 04:02 every day
22 4 ** 0 root run-parts/etc/cron. weekly 04:22 every week
42 4 1 ** root run-parts/etc/cron. monthly 04:42 on the first day of every month

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.