crontab command
The crontab command is a tool used in Linux to set up repeated execution of commands or scripts. It is able to execute commands or scripts at a certain time interval for a specified period of time, as required.
Basic usage of
A common use in VPS is to perform tasks regularly, and to perform tasks regularly can reduce human workload and improve efficiency. The timing task of a Linux system is controlled by a cron (Crond) system service. The Linux system already has a lot
Boyun was published on 1. Log On with the root permission
2. crontab-u lsbi-e
3. Add the command to be started, such as 40 4 18 **/oracle_backup/bin/scott_select.sh
4. Restart service crond restart
5. OK
Note:
1. The program to run in cmd is sent
The crontab command is used to submit and manage tasks that the user needs to perform periodically, similar to the Scheduled tasks under Windows.(1) Usage:Usage: crontab [-u user] Filecrontab [-u user] [-e |-l |-r](2) Function:Features: when the
Objective:We know that at command is a user directly given a point in time to perform a specific task, for some of the daily needs to execute the command, we can not go every day to execute once, so, Linux provides a loop run routine work command
using crontab to implement timed backup of Oracle databaseXu Yuze
01-4-29 09:53:52
Timed hot Backup (EXP) for an Oracle database can usually be implemented in two ways, using the Task Queue Manager (Job queue)
Do a Linux timed task today (summarize the table every 12 o'clock in the evening).By the way, write a blog record ~ ~Why use Linux timed tasks instead of scheduling tasks on the project? The reason is to prevent the project from collapsing for
I wrote an article a few days ago, using simple php to implement scheduled task execution, but the efficiency is not good. for linux, it is more reasonable to use crontab. First, let's talk about cron, it is a scheduled execution tool in linux.
Objective
This two weeks learned a lot of things, but also the Golang language basic grasp, the harvest is quite a lot. In the process of doing security, there are many tasks that need to be performed regularly, such as the number of crawl hosts,
In AIX and Linux, crontab introduces similar crontab usage in AIX and Linux. First, it introduces Crontab usage in Linux, and then introduces differences between AIX and Linux. 1. Crontab the crontab command is used to schedule the execution of some
Allow crontab to automatically schedule rows of PHP
To use the crontab auto-dynamic PHP program, you can do this:
Method 11. Add the following in the first line of the PHP program:
#! /Usr/local/PHP/bin/PHP-Q
For example:
Plain textPHP:
#!
1. Introduction to crontab
The crontab command schedules the execution of some commands at certain intervals.
1.1/etc/crontab file
There is a crontab file in the/etc directory, which stores some scheduling programs that are running systematically.
This article is based on the following English documents: http://www.adminschoice.com/docs/crontab.htm.
Cron is a UNIX tool that uses cron background processes to automatically execute tasks at a specific time in the future. These tasks are usually
Crontab-e
Enter a vi editing interface
Add
*/30 * netstat>/tmp/net. log
The netstat command is executed every 30 minutes and the execution result is saved to net. log.
Crontab is a program that conveniently executes a task in a scheduled (Cyclic)
Run the yum command in CentOS to install the crontab program of the scheduler.Overview
With the "Task Scheduler", you can schedule any script, program, or document to run at a very convenient time. In general, it is to regularly execute a script or
Name: crontabPermission: All UsersUsage:Crontab [-u user] FileCrontab [-u user] {-L |-r |-e}Note:Crontab is used to allow users to execute programs at a fixed time or interval. In other words, it is similar to the user's time table. -U user is used
Crontab is a command that is used to set up, delete, or display a timed task for the daemon cron to perform. Each user can have their own scheduled tasks, timed task files by default to the user name, and placed in the/var/spool/cron directory, the
Original source: http://www.ccw.com.cn/htm/app/aprog/01_4_29_3.asp
Timed hot Backup (EXP) for an Oracle database can usually be implemented in two ways, using the Task Queue Manager (Job queue) that it provides in an Oracle database,
Writing a scheduled task is like CRONTAB-E, but what's the difference between this and direct Vim/etc/crontab? Why did you finish the planning task,/etc/crontab?Method 1: Use the command crontab-e and edit the timed script directly. After this
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.