What is a scheduled task? Tasks and work performed by the Linux system itself on a regular basis:Rotation system log, backup system data, clean cache, etc.Var/log/messages # System log file, Ll/etc/|grep cron # Query timed task
Linux crond scheduled taskChapter 1 What is Crond?
Crond is a service or software used in linux to regularly execute commands or specify program tasks. Generally, after the CentOS5/6linux operating system is installed, the Crond task scheduling
I. Delay taskIn Linux, the delay task is temporary, you can specify a task to run at a specific time in the future1. At commandBasic Operation format:[[email protected] ~]# at now+1minat> date #EOT代表Ctrl +d to save this delay action Job 2 at 2017-07-
First, simple knowledge1. Command accumulation:Ifup eth0//start NICIfdown Etho//Turn off the network cardRoute-n//View GatewayRoute del default GW 10.0.0.244//delete gateway, GW on behalf of Gateway add on behalf of adding gatewayWhy does the
Linux scheduled task and Linux task
Crond of scheduled tasks
Crond is a service or software used in linux to regularly execute commands/scripts or specify program tasks. Generally, after installing Centos5/6 linux, by default, the Crond task
One-time Scheduled tasksAt the specified time to execute a specific commandUsage: at [TIME]Example:At 9:00am #指定在当天早上9点执行计划任务At > Cp/etc/passwd/tmp #计划任务内容At > #输入完成后, End by Ctrl+dAt-l List Current Scheduled tasksRecurring Scheduled
I. Overview of the process and the differences between Linux and Windows processes? 在**Linux**内核中,描述一个进程主要是task_struct,一个称为进程描述符的数据结构。这个数据结构很庞大,包含了内核管理一个进程所需的所有信息,描述了一个正在执行的进程,包括进程ID,它打开的文件,进程的地址空间,挂起的信号,进程的状态等等其他信息。
1. RoleUse the crontab command to modify the crontab configuration file, which is then configured by the Cron utility when appropriate
, and this command uses permissions that are all users.
2. Format
The code is as follows
Copy
The AT program runs the commands and programs on the computer at the specified time and date. The AT command can only be used when the schedule service runs. If used without parameters, at lists the scheduled commands.
Grammar
at [\\ComputerName] [{
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.