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
Author:North SouthFrom:Linuxsir. orgAbstract:In a Linux operating system, scheduled tasks are usually undertaken by cron. Understanding or understanding cron can help us manage servers more conveniently and save more time. This article also provides
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 Ubuntu 14.04 use cron to implement job automation Chszs, All rights reserved, without consent, not reproduced. Blogger Home: Http://blog.csdn.net/chszsCron is one of the most useful tools in a Linux system, and a cron job is a job that is
Linux Tips: use cron and at to schedule jobs in Linux. many management tasks must be executed regularly. These tasks include rotating log files to avoid filling file systems, backing up data, and connecting time servers for system time
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.
Cron is a Linux scheduled execution tool that can run jobs without human intervention. Since cron is a built-in service in Linux, but it does not automatically get up, you can use the following methods to start and close this service:
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[
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.