linux系統中定時任務和延時任務

一、系統延時任務 1.at命令 [[email protected] ~]# at 21:15 ##設定任務執行時間爲21:15 at> rm -fr /mnt/* ##任務動作 at> << ctrl + d ##用ctrl + d發起任務 [[email protected] ~]# at now+1min ##延時1分鐘 at> touch /mnt/al{1…5} ##任務動作 at> <
相關文章
相關標籤/搜索