From: http://blog.chinaunix.net/u3/111961/showart_2359262.html
Cron is a Linux scheduled execution tool that can run jobs without human intervention.
1. About crontab
In ubuntu server 9.10, cron is installed and started by default. The/etc/crontab
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
Introduction
Cron is a Linux timed execution tool that can run jobs without human intervention.Under Ubuntu Server, Cron is installed and started by default, and if it is not started, it is set and started (chkconfig\sysv-rc-conf).The following can
Use puppet to manage cron. You can add cron jobs to N servers in batches. For example, the script of the timed synchronization time server.1. Architecture192.168.0.200 (redhat) Host Name master.gangpao.com192.168.0.201 (redhat) Host Name
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
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
Cron is a timed execution tool under Linux that can run a job without human intervention. Since Cron is a built-in service for Linux, it does not automatically get up, and you can start and shut down this service in the following ways:/sbin/service
A summary of the planning tasks
The task of planning is to perform the work that has been planned at the agreed time, which is the superficial meaning. In Linux, we often use the Crond server to do this work. A cron server can perform a specific
There is a command in Linux that can perform system tasks on a regular basis. This is the Crond service. The following is an introduction to the use of the crontab command.
Linux task scheduling is mainly divided into the following two categories:
The efficiency of the PHP dead loop to handle timed tasks is very low. It is recommended that you use the Linux built-in timer Task crontab command to invoke the PHP script to implement. This article is mainly to share with you the PHP combined with
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.