Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the specific use of the at command on the Linux system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will introduce to you how to use the at command in Linux system. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.

About at at is a scheduled task that can be performed at a specific time, once at a specific time, simply by installing the at service, apt-get install at

Linux system at specific usage: create at task to create at task there are two ways, input from the file and input 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.

What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.

The above is the whole content of the specific use of the Linux system at command, more and Linux system at command is the specific use of what related content can search the previous article or browse the following article to learn ha! I believe the editor will add more knowledge to you. I hope you can support it!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report