Understand cron concepts
The cron daemon is a small subsystem composed of utilities and configuration files. cron of a certain style can be found in almost all UNIX-like systems. CronComponents include the daemon itself, a set of system-wide
Most of the content below is translated according to Cron Help Guide, and some parts are added by yourself.
The full text is as follows:
Cron comes from the Greek word chronos (meaning "time"). It is the next program in linux to automatically
Name: crontab
Permission: All Users
Usage:
Crontab file [-u user]-replace the current crontab with the specified file.
Crontab-[-u user]-replace the current crontab with the standard input.
Crontab-1 [user]-list the current crontab of the
In RedHat
Linux Cron configuration file:
/Etc/crontab records environment variables (shell, path, mailto, home) and pre-defined cron tasks (cron. Hourly/daily/weekly/monthly ).
(When the cron task cannot be executed, check the environment variables
After more than a decade of development in Linux, many users are familiar with Linux. Here we will introduce cron's understanding in Linux and discuss it with you. Cron is a Linux scheduled execution tool that runs jobs without manual intervention.
Name: crontab
Use Rights: All users
How to use:
crontab file [-u user]-replaces the current crontab with the specified files.
Crontab-[-u user]-replaces the current crontab with standard input.
crontab-1[user]-lists the user's current crontab.
Summary of linux Cron processes-general Linux technology-Linux programming and kernel information. The following is a detailed description. Author: kissinger_1984
After reading the Cron for two days, I finally thought it was a little clear and
Name: CrontabUsage rights: All usersHow to use:crontab file [-u user]-replaces the current crontab with the specified files.Crontab-[-u user]-replaces the current crontab with standard input.crontab-1[user]-lists the user's current crontab.crontab-e[
At the beginning, I was not clear about the relationship between background processes, daemon processes, and cron processes. Now I understand. As I wrote in the text above:
Background process: a program that does not require user input during
Linux tips: Scheduling jobs with Cron and atOn Linux systems, many administrative tasks must be performed frequently and regularly. These tasks include rotating log files to avoid filling the file system, backing up data, and connecting time servers
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.