52AV璈A|52AV.ONE

 曉撖蝣
 蝡唾酉
敹急瑕
  • av隢憯BBS
  • 璈A
  • 芣瑟憭瘚
  • 鞎澆
  • 52av鋆貉摰
  • 銝剜-銝剖銝餅
Yahoo!憟拇撠
望: 璈A
Google憟拇撠
望: 璈A
     
亦: 2910|敺: 0
銝銝銝駁 銝銝銝駁

[linux隞也 crontab 雿輻冽澆

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-9-22 22:11:29 | 芰閰脖 撣 |摨閬 |梯璅∪
Linux/Unix 蝟餌絞 crontab 蝔撘舐其霈蝟餌絞雿輻刻芾閮剖券閬   嚗閬鈭
5 i" f+ U, d0 |+ Z% z

' X2 {2 Z2 F; y9 U" t  ?靘憒雿輻刻臭誑閮剖瘥銝拐8暺芸ftp 唳啣餅瑼獢嚗   瘥憭拙憭3暺芸隞質蝑...閬摰鋆蝵殷閮園扯撣貉酉 /usr/sbin/crond 蝔撘銝 Linux 券璈芸頛伐憒潛曄 crond 刻嚗臭誑 /etc/rc.d/init.d/ 桅銝臬行撠瑁crond 蝔撘隞文仿璈芸瑁瑼鋆⊿U憒賣銵函內瘝摰鋆crond, CentOS 銝芾銝隞
% B1 a, l" E7 E& E+ ]; P8 V5 S* o8 Syum install vixie-cron    撠勗臬鋆摰. `, x) B: I# }/ w
- M9 E* w# y! Z5 ~
雿輻刻臭誑 crontab -e(摮瑼敺喳餌) 隞支蝺典神閬撌乩撖怠其 file 鋆∴瑁 crontab filename  撠勗臭誑鈭雿輻刻 crontab 瑼賣摮 /var/spool/cron/ 銝,瑼撠望航府撣唾摮,靘憒 root
  O3 j( S% Q; n# b6 H9 N# V* pcrontab 澆憒銝嚗/ W4 g& z" ]: Y9 }* r, ]
: M# ]/ |, k( ]0 |* Q$ Q
               閬瑁隞
" w- h2 t, F' m: ?: ]+ Y0 G靘憒:
; Y% j" b) @! v$ w3 a% w4 ^6 v6 R9 x; q
30 12   *   *   *       /usr/bin/rm xxx.txt
. k) A, H7 e0 q& {. d' `5 K1 G
; q5 [9 k% ]3 } 12:30 撠 xxx.txt 瑼獢畾箸
2 k# ~0 u6 P; m( U, f/ X3 e* 銵函內瘥交瘥賢瑁, V% a1 \- x" q
血撖 crontab 瘜冽敹雿輻 蝯撠頝臬憒 rm 瑁瑼 敹撖急 /usr/bin/rm& n4 ?/ t  j/ g1 x$ \$ I
靘:# every two hours at the top of the hour
4 z) G4 H" e/ g           0 */2 * * * date
& p# D8 I5 t# V( ?1 W1 ?! o7 a0 {
# every two hours from 11p.m. to 7a.m., and at 8a.m.
: x4 m0 @' Y, v  s           0 23-7/2,8 * * * date3 m0 q# o6 A1 ?& \$ p
4 G% ~4 a) F: V. R+ a4 D# O( T
渲底蝝啣臬:  http://linux.vbird.org/linux_basic/0430cron.php
+ l3 m2 c% O) d3 y1 |3 u( E
) l) h! E& K* Z$ e0 C3 @' k3 H& S* g( o7 @* |& l4 _3 K) a- J" X! f) Y% B

7 z5 H& n5 Y+ c- v% i# I2 V( `6 e) a$ M: ?( j" I$ K

雿輻券

祉蝛閬

BT蝳

砍憛批捆靘餉衣雯頝臬批捆蝝颲行粹嗥蝬脩嚗摰撟湔遛嚗嚗甇脖誑銝嗅啣摰嗆摰撟湧翩鈭箏ㄚ孵舫脣伐銝憿亙祉璇甈橘芣遛18甇 雓蝯脣亦閬賬粹脩芣遛18甇脖芣撟渡雯閬賜雯頝臭嗥批捆鞈閮嚗撱箄降典舫脰蝬脰楝批捆蝝蝯蝜ICRA蝝摰鋆閮剖 (粹蝯行霅 祉蝬脣銝蝝瘛函隢憯啣嚗祉閮剜蝞∠)

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-21 19:43 , Processed in 0.063732 second(s), 16 queries .

蝯∠.撱

52avtv@gmail.com | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵