1. Introduction to the crontab Environment1. cron service in/etc/init. d/cron2. run the/usr/sbin/cron3. cron configuration file in/etc/cron. dfile list :. PROTO, FIFO,. deny, cron. allow, cron. deny, queuedefs4. cron connection fi
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 execute specified tasks. For example, you can use cron to automatically create backups of certain files or folders during
Cron is one of the most useful tools in Linux. cron jobs are scheduled to run when the specified time is reached. The most common automated system management and maintenance work, such as the daily scheduled backup notification or the scheduled/tmp/directory cleaning notification. Many Web applications also need to execute scheduled jobs. This article describes how Cron
date
# A.m. of July
0 4 1 jan * date
Example
$ Crontab-l list the current crontab of a user.
/Usr/lib/cron. allow indicates who can use the crontab command. If it is an empty file, it indicates that no user can schedule a job. If this file does not exist and another file/usr/lib/cron. deny exists, the crontab command can be used only by users not included in this file. If it is an empty file, it indicates
Cron is a daemon that can be used to schedule the execution of repeated tasks based on the combination of time, date, month, and week. Cron assumes that the system continues to run. If the system does not run when a task is scheduled, the task will not be executed. To use the cron service, you must install the vixie-cronRPM package and run the crond service. To d
Use Cron in Ubuntu 14.04 to automate jobs
Cron is one of the most useful tools in Linux. cron jobs are scheduled to run when the specified time is reached.The most common automated system management and maintenance work, such as the daily scheduled backup notification or the scheduled/tmp/directory cleaning notification. Many Web applications also need to execute
Use cron in Ubuntu14.04 to automate jobsUse cron in Ubuntu 14.04 to automate jobs
Cron is one of the most useful tools in Linux. cron jobs are scheduled to run when the specified time is reached.The most common automated system management and maintenance work, such as the daily scheduled backup notification or the sche
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 scheduled to execute when a specified time arrives.The most common Automated system management and automatic maintenance work, such as a daily notification of a schedul
automate job using cron in Ubuntu 14.04
Author: Chszs, All rights reserved, without the consent, may not reprint. Bo main home: Http://blog.csdn.net/chszs
Cron is one of the most useful tools in the Linux system, and the cron job is the job that is scheduled to execute at the specified time.The most common Automated system management and automated maintenance w
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 file shows the following content:Bytes -----------------------------------------------------------------------------------------------------------------------#/E
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. This document does not describe how cron works, this section describes how to use and briefly introduce the Linux scheduled execution tool
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 and command path here)
/Etc/cron
To be honest, I really don't like Solaris. It's so uncomfortable to use it. The key is that it won't be used.
In Linux/FreeBSD, the syntax for viewing the current crontab task is crontab-l, and the task for editing a user is crontab-u
However, in Solaris, crontab does not have the-u parameter. crontab: Proper usage is:Crontab [user]
If you are interested, try it. It is very difficult to use.
Of course, her
Debian scheduled task management cron settings (the easiest way to shut down at a specific time every day: 1. gedit/etc/crontab 2. add a line at the end of the file: 01 22 **** root halt-p # indicates shutdown at every day.) All tasks with the system administrator privilege must be in/etc, because they are all configuration files. If you have scheduled tasks that require daily (daily), weekly (weekly), or monthly (monthly) running as administrators, p
Tags: ges required file field mtime install usr default checkIntroducedCron 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 be seen through its configuration file/etc/crontab:Ununtu runs all scripts in four directories on a timed basis by invoking the Run-parts command.1)
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 summarized.
At the beginning, I was not clear about the relationship between background processes, daemon processes, and cron
Linux cron and crontab croncrond are located in/etc/rc. d/init. d/crond or/etc/init. d or/etc/rc. d/rc5.d/S90crond, always reference/var/lock/subsys/crond. Cron is a scheduled execution tool in linux (equivalent to cron and crontab cron crond in Linux in windows are located in/etc/rc. d/init. d/crond or/etc/init. d or/
Cron is a scheduled execution tool in linux. it can run jobs without manual intervention. because Cron is a built-in service in Linux, it does not automatically get up, you can use the following methods to start
Cron is a scheduled execution tool in linux. it can run jobs without manual intervention. because Cron is a
I just created a backup module. Later, the master asked me to add an automatic backup function, so I studied the cron service.
Cron is a built-in service of linux, but it does not automatically get up. You can start or close this service using the following methods:
Reference:
/Sbin/service crond start // start the service/Sbin/service crond stop // close the service/Sbin/service crond res
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 agent01.gangpao.com
2. directory structure/Etc/puppet|| --> Manifests| --> Modules. pp| --> Nodes. pp| --> Site. pp| --> Modules| -->
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.