In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to use the Linux at command", the content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to use the Linux at command" can help you solve your doubts.
The main function of at command in Linux system is to create scheduled tasks, specifying a time to execute a task, which can only be executed once.
Create at tasks there are two ways to create at tasks, import from a file and import from the console. The following commands are created in two ways to write the current time to the home/result file after 1 minute
1. Import from a file
2. Enter from the command line
Notice that here is the ctrl+d button.
Atq and atrm commands atq view at timed queue command, atrm deletes a scheduled task command.
Appendix 1. At time definition at allows you to use a rather complex set of methods for specifying time. 1) the time specified in hh:mm (hours: minutes) of the day can be accepted. If that time has passed, it will be executed the next day. For example, the time can be specified using ambiguous words such as midnight (late at night), noon (noon), and teatime (tea time, usually 4 p.m.). 3) you can use the 12-hour timing system, that is, add AM (morning) or PM (afternoon) after the time to indicate whether it is morning or afternoon. For example, 12pm4) can specify a specific date for the execution of the command, in the format of month day (month day) or mm/dd/yy (month / day / year) or dd.mm.yy (day. Month. The specified date must follow the specified time. For example: 04:00 2009-03-15) relative timing can be used. The specified format is: now + count time-units, now is the current time, time-units is the unit of time, here can be minutes (minutes), hours (hours), days (days), weeks (weeks). Count is the amount of time, days, hours. For example, now + 5 minutes 04pm + 3 days6) can directly use today (today) and tomorrow (tomorrow) to specify the time to complete the command.
After reading this, the article "how to use Linux at commands" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.