RHCE考試通關(guān)秘籍第八式—你的任務(wù)是否可以按時(shí)執(zhí)行
2018-11-02閱讀 4334

 

前面導(dǎo)讀:  

 

RHCE考試通關(guān)秘籍第一式--巧破linux密碼》

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=186

 

RHCE考試通關(guān)秘籍第二式不會(huì)配置網(wǎng)絡(luò)你就Over了》  

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=843

 

RHCE考試通關(guān)秘籍第三式你必須知道的SELinux 

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=844

 

RHCE考試通關(guān)秘籍第四式軟件包安裝基礎(chǔ)之YUM配置》

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=850

 

RHCE考試通關(guān)秘籍第五式調(diào)整邏輯卷的大小》

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=851

 

RHCE考試通關(guān)秘籍第六式用戶帳號(hào)的那點(diǎn)事》

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=852

 

RHCE考試通關(guān)秘籍第七式配置文件權(quán)限》

http://www.ya568.com/front/teacherReportInfo/reportInfo/detial?tid=853

 

文章正文:

 

這么快,就到了第八式,第八式是最簡(jiǎn)單的一道題,主要配置一下任務(wù)計(jì)劃。

 

舉個(gè)栗子,假設(shè)要求如下:

 

harry用戶配置計(jì)劃任務(wù) 每天14:23分執(zhí)行/bin/echo hello

 

我們只需要按如下去做,就OK

# crontab -u harry -e

23 14 * * * /bin/echo hello

 

最后,別忘了檢查

# crontab -u harry -l

 

這首題就結(jié)束了。

 

頭像
韓梅
60
文章總數(shù)
161887
總閱讀數(shù)