成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Linux at命令用法詳細介紹

運維 系統(tǒng)運維
本篇報道是關(guān)于Linux at命令用法的介紹以及使用Linux at命令定時開關(guān)機電腦,下面我們一起來看看他的詳細內(nèi)容

在Win2000中,讓系統(tǒng)定時操作比較常用的辦法就是啟動調(diào)度服務(wù)后使用Linux at命令,調(diào)度服務(wù)的啟動方法可以從服務(wù),MMC中也可以使用命令行的方式"NET START SCHEDULE".

Linux at命令的用法如下:

Linux at命令安排在特定日期和時間運行命令和程序。

要使用Linux at命令,計劃服務(wù)必須已在運行中。

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]

AT [\\computername] time [/INTERACTIVE]

[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername 指定遠程計算機。 如果省略這個參數(shù),會計劃在本地計算機上運行Linux at命令。

id 指定給已計劃命令的識別號。

/delete 刪除某個已計劃的Linux at命令。如果省略 id,計算機上所有已計劃的Linux at命令都會被刪除。

/yes 不需要進一步確認時,跟刪除所有作業(yè)的Linux at命令一起使用。

time 指定運行Linux at命令的時間。

/interactive 允許作業(yè)在運行時,與當(dāng)時登錄的用戶桌面進行交互。

/every:date[,...] 每個月或每個星期在指定的日期運行Linux at命令。

如果省略日期,則默認為在每月的本日運行。

/next:date[,...] 指定在下一個指定日期(如,下周四)運行Linux at命令。

如果省略日期,則默認為在每月的本日運行。

"command" 準備運行的 Windows NT 命令或批處理程序。

用法一,定時啟動關(guān)閉某個服務(wù)以RAS服務(wù)方例,讓該服務(wù)在每日19:00啟動,次日7:30關(guān)閉,Linux at命令如下:

AT 19:00 /every:M,T,W,Th,F,S,Su net start ″remote access server″

AT 7:30 /every:M,T,W,Th,F,S,Su net stop ″remote access server″

用法二,Linux at命令定時關(guān)機

1.編寫一個批處理文件(使用批處理文件的原因是為了以后更靈活的控制而不需要重新建立調(diào)度),內(nèi)容如下:

shutdown /l

如果是讓機器重新啟動則使用

shutdown /r

文件存為c:\autoshut.bat

2.建立自動執(zhí)行條目:

at 22:00 c:\autoshut.bat

這樣Linux at命令每天晚上22:00機器都會自動關(guān)機,在關(guān)機前會進行30秒鐘的提示,倒計時的.

文中用的shutdown程序是win2k的Rkit中自帶的,chinaasp網(wǎng)站上好象也有下載,非常好用的.

這是這個程序的其它用法:
shutdown [\\computername] [/l] [/a] [/r] [/t:xx] ["msg"] [/y] [/c] [/?]
Where:
\\computername
Remote computer to shut down. If no name is given but the tool is started with any of the other
options, the local computer name will be used.
/L
Specifies a local shutdown.
/A
Quits a system shutdown. This can only be done during the timeout period. If this switch is used,
all others are ignored.
/R
Restart the computer specifed after shutdown.
/T:xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
"msg"
Specifies an additional message with a maximum of 127 characters, surrounded by quotation marks.
/y
Answers questions with "yes".
/C
Forces running applications to close.
Caution
If you use the /c parameter, Windows 2000 ignores the application’s option to save data that
might have changed. You will see no File Save dialog box, because Windows 2000 will force the
application to close. This will result in a loss of all data not previously saved.
/? (or shutdown without parameters)
Display help.
Examples
Shutdown and reboot a remote computer.
shutdown \\IMAREMOTECOMPUTER /R
Shutdown a local computer, closing all applications in 5 seconds.
shutdown /L /C /T:5

PS:shutdown程序下載地址為:http://www.pkufo.com/computer/openfile.asp?id=65

以上是使用Linux at命令讓W(xué)in2000定時執(zhí)行操作。

【編輯推薦】

  1. 戴爾:Linux ATI驅(qū)動程序很不理想 必須改進
  2. Linux ATI 7-11(8.43.2)顯卡驅(qū)動的安裝
  3. linux at命令詳解及使用方式案例
  4. Linux操作系統(tǒng)中用Linux at命令定時發(fā)送郵件
  5. linux中的cron和linux at命令用法詳解
責(zé)任編輯:chenqingxiang 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-06-13 15:41:26

Linux uml工具

2010-03-09 09:55:14

Linux mount

2010-03-10 18:29:41

2010-06-11 16:57:37

Linux 查看進程

2010-06-23 14:45:02

Linux Bash

2010-03-04 10:54:45

Linux telne

2010-03-04 11:07:24

Linux finge

2010-06-13 15:13:45

Linux 查看進程

2009-12-22 11:09:54

Linux系統(tǒng)

2010-06-24 14:38:48

Linux Cat命令

2010-03-05 15:20:25

Linux man命令

2011-07-19 09:25:52

2010-03-02 14:01:58

Linux硬件信息命令

2009-12-02 20:15:12

PHP header函

2009-06-25 14:59:39

jQuery.exte

2011-06-27 15:52:20

TITLEALT

2009-12-18 11:48:24

網(wǎng)絡(luò)安裝 Linux

2010-06-18 17:35:16

Linux Anacr

2010-01-05 16:56:28

2010-06-23 15:36:23

Linux Bug B
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 色婷婷综合网站 | 日韩在线免费视频 | aa级毛片毛片免费观看久 | 国产一区二区免费 | 免费大黄视频 | 国产高清在线观看 | 亚洲视频一区二区三区 | 中文字幕一区二区三区不卡 | 国产污视频在线 | 99成人精品 | 欧美自拍另类 | 亚洲成人免费视频在线观看 | 国产精品日日摸夜夜添夜夜av | 国产精品免费在线 | 欧美啪啪 | 黄色骚片 | 亚洲 欧美 日韩 精品 | 日韩免费高清视频 | 中文天堂网 | 成人在线电影网站 | 中文字幕在线人 | 欧美激情视频一区二区三区免费 | 日韩有码一区 | 成人欧美一区二区三区 | 亚洲天堂色 | 欧美男人亚洲天堂 | 日韩另类视频 | 精品网| 91精品国产91久久久久久不卞 | 国产综合久久 | 美女中文字幕视频 | 亚洲国产成人精品女人久久久野战 | 中文字幕一区二区三区精彩视频 | 国产精品激情小视频 | 蜜桃视频一区二区三区 | 欧美一区二区三区在线观看视频 | 美人の美乳で授乳プレイ | 麻豆av在线 | 国产精品一区网站 | 四虎在线观看 | 久久精品国产免费高清 |