Recurring Plan (a cron daemon): [email protected]:/etc# Ps-ef |grep cronroot903 1 0 16:25? 00:00:00/usr/sbin/cron-Froot16162 6459 0 22:08 pts/1 00:00:00 grep--color=Auto Croncron is a daemon that can be executed periodically based on the combination
crontab command
Use
Submit, edit, list, or drop a cron job.Grammar
crontab[-e[username]|-l[username]|-r[username]|-v[username]| File]Describe
This crontab command submits, edits, lists, or drops cron jobs. A cron job is a command that is run by a
The purpose of the crontab command is to submit, edit, list, or remove cron jobs.Grammarcrontab [-E [UserName] |-l [USERNAME] |-r [UserName] |-v [USERNAME] | File]DescribeThe crontab command submits, edits, lists, or removes cron jobs. A cron job is
The purpose of the crontab command is to submit, edit, list, or drop a cron job.
1. Grammar
crontab [E [UserName] |-l [USERNAME] |-r [UserName] |-v [USERNAME] | File]
2. Description
The crontab command submits, edits, lists, or drops cron jobs.
A simple instance used by crontab
1) create a file in any directory of ubuntu
# Touch cronfile01
2) EDIT crontab file01 [note]: If the root user uses crontab-e to write the root file in the/etc/spool/cron/crontabs directory, this file is written by
The following prompt often appears when you log in or execute a commandYou have mail in/var/spool/mail/rootTip You have system mail not viewedView system messages#mailHeirloom Mail Version 12.4 7/29/08. Type? For help."/var/spool/mail/root": 15110
The Cron daemon can execute shell scripts at a specified time. In fact, it is the same as the bat file for job scheduling in windows. # Crontab regularly execute commands (this is my main learning) # at only once # batch system attached when allowed
Batch processing in PHP. what should I do if one feature in a Web application takes more than one or two seconds to complete? Some offline processing solution is required. Learn several offline service methods for PHP applications that run for a
Implementation of batch processing in PHP. What should I do if a feature in a Web application takes more than one or two seconds to complete? Some offline processing solution is required. Learning several PHP applications for a long time if one
The Cron daemon can execute shell scripts at a specified time. In fact, it is the same as the bat file for Job Scheduling in windows.
# Crontab regularly executes commands (this is my main learning)
# At only once
# The batch system is scheduled for
What should I do if a feature in a Web application takes more than one or two seconds to complete? Some offline processing solution is required. Learn several offline service methods for PHP applications that run for a long time.
There is a big
1) logrotate ConfigurationThe Logrotate program is a log file management tool. Used to delete the old log file and create a new log file, we call it "dump".Depending on the size of the log file or the number of days we can dump it, this process is
A Linux mail systemMail direct input to view mailmail [email protected] body Interactive provide Ctrl +d submit-s-s subject-A fileCasesMail-s ' fstable ' [email protected] MailHeirloom Mail Version 12.5 7/5/10. Type? For help."/var/spool/mail/root":
Work of some content, this is China Mobile group's current Linux machine security compliance standards, find some time to classify it, and check out some information, what each configuration means, not only to know it, but also to know its why. A
What if a feature in a WEB application takes more than 1 seconds or 2 seconds to complete? Some sort of off-line processing solution is required. Learn several ways to work offline for long-running jobs in a PHP application.Large chain stores have a
Review
Linux crontab is the implementation of timed execution of instructions, using this command we can execute a certain PHP file at a time, so that the implementation of PHP as a Linux automatic script execution.
How to use PHP as a Linux
Recently in a community with PHP, writing to calculate the highest number of people, successfully debug the PHP as a shell script directly on the server run.
When making a community, it is often necessary to count data such as the number of people
How to install Crontab in CentOS
Crontab commands are common in Unix and Linux operating systems and are used to set periodically executed commands. This command reads commands from the standard input device and stores them in the crontab file for
Use logs in Linux to troubleshootThe main cause of log creation is troubleshooting. Usually you will diagnose why the problem occurs in your Linux system or application. Error messages or a series of events can provide you with clues to identify the
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
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.