Linux Small Knowledge Translation-"cron"

Source: Internet
Author: User

This time talk about "cron".

"cron" is the "tool for automating tasks on a regular basis" (equivalent to a scheduled task in Windows). Read "Sloan". With "cron", you can pre-specify that a task executes at a certain time.

The designation of time is not just a simple "one-hour" method, you can specify that only one day to perform a task, or specify a 8-point ~22 point to be executed hourly, and so on.

You can also specify a specific time (which can be specific to minutes). There are some rules to use, but not difficult.

"cron" is known as an indispensable tool for using Linux. Can be used to regularly manage the software to get logs, check the system status on a regular basis.

It can even be used to monitor whether a process or other host is functioning properly. is a very convenient and indispensable tool.

Some people may not know that "cron" is a tool that can be used by a general user. For tasks that the general user can perform, you can have each user set up their own cron (of course, depending on the system, there are systems that do not let the average user use cron)

Cron with shell scripts, you can monitor your host on a host without root privileges.

The use of Cron is included within the test range of Lpic 102 and is a must-have knowledge.

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.