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

使用Linux at命令讓Win2000定時執行操作

系統 Linux

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

Linux at命令的用法如下:

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

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

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

AT [\\computername] time [/INTERACTIVE]

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

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

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

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

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

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

/interactive 允許作業在運行時,與當時登錄的用戶桌面進行交互。

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

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

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

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

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

用法一,定時啟動關閉某個服務以RAS服務方例,讓該服務在每日19:00啟動,次日7:30關閉,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命令定時關機

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

shutdown /l

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

shutdown /r

文件存為c:\autoshut.bat

2.建立自動執行條目:

at 22:00 c:\autoshut.bat

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

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

這是這個程序的其它用法:

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命令讓Win2000定時執行操作。

【編輯推薦】

  1. linux at命令詳解及使用方式案例
  2. Linux操作系統中用Linux at命令定時發送郵件
  3. linux中的cron和linux at命令用法詳解
責任編輯:趙寧寧 來源: linuxpk
相關推薦

2010-07-15 19:36:00

啟動Win2000 T

2010-05-26 15:06:44

IPv6協議棧

2010-07-23 10:29:54

Win2000 Tel

2010-07-15 10:37:19

Win2000 Tel

2010-07-19 15:04:55

win2000 Tel

2010-07-19 15:21:03

Win2000 Tel

2010-05-28 15:24:52

PHP+MySQL

2010-07-26 10:07:05

Win2000 Tel

2010-07-14 15:11:06

2009-09-25 11:14:39

微軟Win2000XP

2010-06-02 13:44:51

WIN2000 IPv

2010-09-28 15:46:59

Win2000 DHC

2010-04-15 17:40:39

建立DHCP服務器

2012-05-08 11:11:43

Linuxcrontab命令

2010-05-26 14:03:21

IPv6協議安裝

2010-04-28 11:53:50

微軟Win2000XP

2010-05-05 16:11:53

Oracle 9i

2009-08-03 12:21:03

linux at命令linux at命令詳定時關機

2009-09-18 08:34:12

Windows 200停止技術支持

2010-05-11 09:51:23

Windows 7XP SP2
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: .国产精品成人自产拍在线观看6 | 午夜精品91 | 欧美成人免费在线 | 91在线播 | 九九热这里只有精品在线观看 | 成人h免费观看视频 | h视频在线播放 | 一级黄色生活视频 | 91综合网 | 国产97在线视频 | 在线国产小视频 | 日韩在线免费播放 | 午夜精品一区二区三区在线观看 | 在线观看黄免费 | 欧美日一区二区 | 国产精品一区二区三区在线 | h漫在线观看 | 精品中文字幕一区 | 欧美精品国产一区二区 | 亚洲精品免费观看 | 91精品久久久久久久99 | 国产精品久久 | 午夜影视网| 午夜欧美a级理论片915影院 | 网色 | 国产精品久久久精品 | 日韩在线免费 | 在线观看日本高清二区 | 欧美一区二区在线 | 久久丝袜视频 | 欧美区日韩区 | 国产欧美在线观看 | 久久99国产精品 | 久久日韩粉嫩一区二区三区 | 成人性生交a做片 | 国产精品久久国产愉拍 | 欧美一区二区在线播放 | 成人免费一区二区三区视频网站 | 成人欧美一区二区三区黑人孕妇 | 天天干天天想 | 亚洲精品视频观看 |