The main reason people create logs is the wrong line. Usually you will diagnose what problems occur in your Linux system or application. An error message or a series of events can give you clues to find the root cause, explain how the problem
1. at--to perform a task at some point in the futureUsage examples: at time: Set a point in time At>command At>ctrl+d Specify time: Absolute Time: HH:MM,DD. Mm. Yy,mm/dd/yy relative Time: now+3minutes units: minutes, hours, days, weeks Blur time:
Special Permissions for Files Suid,sgid,sbitSUID permissions (shown on the X-bit of owner). The suid is valid only for binary programs and only during execution. The performer will have permissions to the program owner during execution because of
Task Schedule:1. Perform a task at a future point in time:#at#at [OPTION] TimeAt>commandAt>, .....At>ctrl+d Submit[OPTION]-L Displays the job list, equivalent to the #atq commandThe display format is as follows:JOBID RUNTIME ALIGNMENT USERALIGNMENT (
Linux Task Scheduler, recurring task executionPerform one task at a time in the future: at, BatchTo run a task periodically: crone-Mail Service:Smtp:simple Mail Transmission protocol for sending mail;Pop3:post Office ProtocolImap4:internet Mail
Disposable task--at, Batch command
At time, the user interactively submits a command task at the ' at> ' prompt to be executed at the specified times. Finally, the task is submitted with the ' Ctrl+d ' key combination.
- q queue
IntroductionPerform a task at some point in the future: at, BatchTo run a task periodically: crontabExecution result: will be sent to the user by mailCheck if the mailbox service is on: (25 port)~]# NETSTAT-TNLP~]# SS-TNLLocal Email
Link: http://blog.chinaunix.net/uid-20448327-id-4195269.html
In Linux, a task can be configured to run automatically for a specified period of time, a specified date, or if the system average load is below a specified number. Red Hat Enterprise
3. Stop the serverTo manually start the server, use MySQLadmin:% Mysqladmin shutdownTo automatically stop the server, you do not need to do anything special. The BSD system generally stops the service by sending a TERM signal to the process. They
Wscdlzhom published on | 439 Times font size: large, medium, and small (0 comments) I want to commentThe crontab command schedules the execution of some commands at certain intervals. There is a crontab file in the/etc directory, which stores some
Start and Stop a Mysql Server (2)
Start and Stop a Mysql Server (2)
3. Stop the server
To manually start the server, use MySQLadmin:
% Mysqladmin shutdown
To automatically stop the server, you do not need to do anything special. The BSD system
1. 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
Use logs in Linux to troubleshoot errors.
Source: logugly Source: LCTT welcome to share the original article with bole headlines
The main cause of log creation is troubleshooting. Usually you will diagnose why the problem occurs in your Linux system
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
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
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
There are three types of Linux scheduled tasks:at: Specify a time to perform a task (one or more tasks, once executed, not used)Cron: Perform tasks automatically based on a schedule (with one or more tasks, periodically)System-level scheduled tasks
What we bring to you today is the introduction of the use of at Crontab
command to run a task at a time
Syntax: at (option) (parameter)-F: Specifies the task file containing the specific instructions;-Q: Specifies the queue name for
First, the script programming knowledge point1. Get the length of the character in the variable: ${#VARNAME}2. Assigning values to variables:A) ${parameter:-word}: If the parameter is empty or undefined, the variable is expanded to "word"; otherwise,
Linux Task Scheduler, recurring task executionPerform one task at a time in the future: at, BatchTo run a task periodically: crone-Mail Service:Smtp:simple Mail Transmission protocol for sending mail;Pop3:post Office ProtocolImap4:internet Mail
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.