Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux [2018/07/02 07:15] – File Descriptor ledyxlinux [2021/02/07 03:15] (current) – external edit 127.0.0.1
Line 194: Line 194:
  
  
-= File Descriptor =+= Crontab = 
 + 
 +__**C**__h__**ron**__(time)__**tab**__le 
 + 
 +<code bash> 
 +* * * * * COMMAND 
 +# m(0 ~ 59) h(0~23) d(1~31) M(1~12) DayOfWeek(0~6, 0 : Sunday) 
 +</code> 
 + 
 +<sxh bash> 
 +# 등록 
 +crontab -e 
 + 
 +# 삭제 
 +crontab -r 
 +</sxh> 
 + 
 +<sxh bash> 
 +# 1분마다 date 출력 
 +* * * * * date >> /tmp/greet.txt 
 +## */1 * * * * date >> /tmp/greet.txt 
 + 
 +# 매시 15,45분 "Hello, world" 출력 
 +15,45 * * * * echo "Hello, world!" >> /tmp/greet.txt 
 +</sxh> 
 + 
 +== File Descriptor ==
  
 |<100%>| |<100%>|
linux.1530512152.txt.gz · Last modified: 2021/02/07 03:15 (external edit)