Transfer from http://www.jb51.net/LINUXjishu/19905.htmlBasic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column
Edit/etc/crontab File Configuration cronCron service every minute not only to read all the files within/var/spool/cron, but also to read a/etc/crontab, so we configure this file can also use the Cron service to do something. The crontab
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
The implementation of Linux timing tasks are: cron, Anacron, at, and so on, here mainly about cron services.Noun Explanation:Cron is the service name, Crond is a background process, and crontab is a custom-made scheduled task table.Package
Thank users for sharing, collected and collated the format of crontab and usage, for the convenience of future use, do a memoBasic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
1 logging into a Linux server using putty2 Enter the following command. View existing Scheduled TasksCrontab-l3 Enter the following command to enter the scheduled task fileCrontab-e4 Keyboard Select I key for input, ESC key exit: Wq Save and
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
Content is repeated, but in the spirit of more than the principle of more than a look at it, as a deeper impressionBasic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column
Recurring Task Execution: Cron, Vixie-cron,cronieCrond:cron Daemon, cron Daemon, always working in the background#service crond StatusCrond (PID 1718) is running ... If the status information is "is stopped.", you need to perform "service Crond
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
0. Personal tagsCaicongyangHttp://blog.csdn.net/caicongyang1.crontabCrontab is a scheduled task under Linux, which is also available in sping2. Basic format* * * * * commandTime-sharing Weekly command3. CommandUsage: crontab [-u user] file
Basic format:* * * * * commandTime-sharing Weekly commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 means 0 points)The 3rd column represents the date 1~31The 4th column represents the
Linux scheduling Task Cron is a timed mode, for example, we can back up the system at least when the system is used, but it is impossible for an administrator to come to work in the middle of the night, so you can use the Linux program task Cron,
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.
Required Tools and Installation:
You must install the following tools and software:
– The shell script that modifies the password;
–sudo access rights;
–apache or LIGHTTPD Web server;
–php Service-side program.
Step 1: Install shell scripts
detailed usage of CRONTAB commands in Linux systems:
If you do not see this command in your system, install the following two packages.
Vixie-cron
Crontabs
Crontab is used to allow the user to execute a program at a fixed time or at a fixed
1, the outline of the planning task;
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
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.