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

Detailed usage of at command under linux

2025-03-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces "the detailed usage of at command under linux". In daily operation, I believe many people have doubts about the detailed usage of at command under linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "detailed usage of at command under linux". Next, please follow the editor to study!

The usage of at command

At

Lists scheduled commands or scheduled commands and programs that run on the computer at the specified time and date. The schedule service must be running to use the at command.

At [\ computername] [[id] [/ delete] | / delete [/ yes]]

At [\ computername] time [/ interactive] [/ every:date [,...] | / next:date [,...]] Command

Parameters.

None

If used with no parameters, at lists the scheduled commands.

\\ computername

Specify the remote computer. If you omit this parameter, the command is scheduled on the local computer.

Id

Specifies the identifier assigned to the scheduled command.

/ delete

Cancel the scheduled command. If id is omitted, all scheduled commands on the computer will be canceled.

/ yes

When you delete a scheduled event, force an affirmative answer to the system's query.

Time

Specifies the time to run the command. Time is expressed as hours: minutes in the form of a 24-hour mark (00:00 [midnight] to 23:59).

/ interactive

Allows the job to interact with the desktop of the logged-in user while the job is running.

/ every:date [,...]

Run the command on a specified day of each week or month (for example, every Thursday, or the third day of each month). Specify the date as one or more days of the week (Mrecine T, W, H, or, or the day or days of the month (using numbers 1 to 31). Separate multiple date entries with commas. If date is omitted, it is assumed to be the current date of the month.

/ next:date [,...]

When the next day repeats itself (for example, next Thursday), run the specified command to specify the date as one or more days of the week (MMagre Tschew, Wrech, Thlast, Fregor, Su), or one or more days of the month (using numbers from 1 to 31). Separate multiple date entries with commas. If date is omitted, it is assumed to be the current date of the month.

Command

Specify the Windows 2000 command, program (.exe or .com file) or batch program (.bat or .cmd file) to run. When the command requires a path as an argument, use the absolute path, that is, the entire path starting from the drive letter. If the command is on a remote computer, specify the UNC symbol for the server and share name, not the remote drive letter. If the command is not an executable (.exe) file, you must precede the command with cmd / c, for example:

Cmd / c dir > c:\ test.out

At this point, the study on the detailed usage of the at command under linux is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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