刪除待執(zhí)行任務(wù)隊(duì)列中的指定任務(wù)
atrm命令 用于刪除待執(zhí)行任務(wù)隊(duì)列中的指定任務(wù)。
atrm(選項(xiàng))(參數(shù))
-V:顯示版本號(hào)。
任務(wù)號(hào):指定待執(zhí)行隊(duì)列中要?jiǎng)h除的任務(wù)。
刪除已經(jīng)排隊(duì)的任務(wù)
atq # 顯示當(dāng)前已經(jīng)設(shè)置的任務(wù)
2 Mon May 17 08:00:00 2010 a root
1 Sat May 15 17:00:00 2010 a root
atrm 2 # 刪除任務(wù)2