리눅스

스케줄 관리(cron)

cron

UNIX/LINUX에서 특정 시간, 특정 날짜에 정해진 명령어를 실행

/etc/crontab : cron 작업을 설정

형식

분 | 시간 | 날짜 | 달 | 요일 | 사용자 | 명령

분 : 00 ~ 59
시간 : 00 ~ 23
날짜 : 00 ~ 31
달 : 1 ~ 12
요일 : 0 ~ 7

* : everytime
- : 해당 시간 사이
     예) 시간 항목에 1-3 이면 1시에서 3시 사이
,  : 구분
     예) 시간 항목에 1,3 이면 1시, 3시
/ : 뒤에 오는 단위별로 매번
     예) 분에 */2 인 경우 2분 단위로 실행

댓글

댓글 본문
작성자
비밀번호
  1. zzyytt
    http://www.jordansshoes.us.org
    http://www.jordan6.us.com
    http://www.goyardhandbags.us.com
    http://www.polosralphlaurenuk.com
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.adidasstansmith.us.com
    http://www.goldengoosesneakers.us
    http://www.jordansforcheap.us.com
    http://www.handbagsmichaelkors.com
    http://www.yeezy700.us.com
    http://www.adidas-pureboost.us.com
    http://www.coachsonline.us.com
    http://www.filashoes.org
    http://www.hardenshoes.us.com
    http://www.yeezy-shoes.org.uk
    http://www.adidasstansmith.uk
    http://www.michaelkors-outletfactory.us.org
    http://www.vapormaxshoes.us
    http://www.mlbjerseys.in.net
    http://www.air-max.us.com
    http://www.asics-shoes.us.org
    http://www.jimmychoo-shoes.us.com
    http://www.golden-goose.us.com
    http://www.nikeairforce1.us.com
    http://www.hermesbelts.com
    http://www.pandorabracelet.in.net
    http://www.nikeflyknit.us.com
    http://www.hermeshandbags.us.org
    http://www.balenciaga.us.com
    http://www.adidas-crazyexplosive.us.com
    http://www.longchamp-bags.us.org
    http://www.lebronjames-shoes.us.com
    http://www.balenciagashoes.us.org
    http://www.supremehoodie.us.com
    http://www.fitflops-saleclearance.us.com
    http://www.lebron16.us
    http://www.longchamphandbagsoutlets.com
    http://www.coachoutletsfactory.com
    http://www.outletlacoste.us.com
    http://www.nike-airmax2017.us.com
    http://www.coachoutletstorefactory.com
    http://www.michaelkors-outletonlines.us.com
    http://www.jordanshoes.org.uk
    http://www.chromehearts.name
    http://www.filas.us.com
    http://www.goldengoose-sneakers.com
    http://www.adidasnmds.com
    http://www.kyrie3.us.com
    http://www.curry4shoes.us.com
    http://www.offwhitexjordan1.com
    http://www.jordan12.us.com
    http://www.lacostepolo.us.com
    http://www.airjordanretro.uk
    http://www.katespadehandbags-outlet.us.com
    http://www.coachoutlets.name
    http://www.nike-huarache.com
    http://www.bape-hoodie.us.com
    http://www.hermes-belt.us.com
    http://www.long-champ.us.com
    http://www.michaeljordanshoes.us.com
    http://www.nikeair-max.us.com
    http://www.hermesonlineshop.com
    http://www.hermes-handbags.us.com
    http://www.kobeshoes.uk
    http://www.lebron15.net
    http://www.ferragamobelt.us
    http://www.offwhiteclothing.us.com
    http://www.nikereact.org
    http://www.cheapnbajerseyswholesales.us.com
    http://www.yesyeezy.shop......tml
    http://www.michael-kors-handbags.com.co
    http://www.yeezyboost.in.net
    http://www.outletonline-michaelkors.us.org
    http://www.curry5.us
    http://www.yesyeezy.shop......tml
    http://www.nhljerseys.us.org
    http://www.yeezyboost350v2.org.uk
    http://www.yesyeezy.shop......tml
    http://www.kyrie4.org
    http://www.nikecortez.us.com
    http://www.kd11.us
    http://www.nikehuaracheshoes.us.com
    http://www.vans-outlet.us.com
    http://www.nikepolo.us
    http://www.yesyeezy.shop......tml
    http://www.hoganoutletonline.us.com
    http://www.adidaszxflux.com
    http://www.lacosteonlineshop.us.com
    http://www.jordanssneakers.us.com
    http://www.kd11.us.com
    http://www.yeezy-boosts.us.com
    http://www.goldengoose-sneakers.us
    http://www.monclerjackets.us
    http://www.nikejordans.us.com
    http://www.kobebasketballshoes.net
    http://www.kyrieirving-shoes.us.com
    http://www.goyardhandbags.org
    http://www.hermes-birkin.us.com
    http://www.retro-jordans.us.com
    http://www.outletmichael-kors.us.com
    http://www.ultraboost.us.com
    http://www.yeezy500.us
    http://www.jordan13.us.com
    http://www.adidasultraboost.us.org
    http://www.nike-roshe.us.com
    http://www.valentinos.us.com
    http://www.jordan-retro.us.com
    http://www.yeezyboost350v2shoes.us.com
    http://www.curry4.us.com
    http://www.airmax90.us.org
    http://www.nikefoamposite.us.com
    http://www.airmax270.us.com
    http://www.jordan4.us.com
    http://www.coachoutletssale.com
    http://www.yeezy-shoes.org
    http://www.monclerjacket.net
    http://www.longchamphandbagsonlines.com
    http://www.reebokoutlet.us.org
    http://www.yeezy-shoes.ca
    http://www.yeezysuk.com
    http://www.nike-hyperdunk.us.com
    http://www.chromehearts.com.co
    http://www.kd-10.us
    http://www.michael-kors-handbags.org.uk
    http://www.long-champhandbags.org.uk
    http://www.yesyeezy.shop......tml
    http://www.adidasyeezy.co.uk
    http://www.michael--korsoutlet.us.org
    http://www.adidasshoesonline.com
    http://www.off-whiteshoes.us.com
    http://www.michaelkors-outletstore.com
    http://www.yesyeezy.shop......tml
    http://www.monclersoutlet.us.com
    http://www.adidasyeezys.us.com
    http://www.converseoutlet.us.com
    http://www.yeezysshoes.us.com
    http://www.adidasyeezys.us
    http://www.fakerolex.us.com
    http://www.nikeairmax2018.us.com
    http://www.hermesbelts.co.uk
    http://www.yeezy-500.us.com
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.kobe-shoes.us.com
    http://www.kobesneakers.com
    http://www.lacostepolosshirts.com
    http://www.outlettimberland.us.org
    http://www.nikeairmax2019.us.com
    http://www.yeezy-boost350.us.com
    http://www.bapehoodie.us
    http://www.yesyeezy.shop......tml
    http://www.goyardbags.us
    http://www.adidasiniki.us
    http://www.canada--goose.co.uk
    http://www.nike-shox.us.com
    http://www.yslhandbags.net
    http://www.russellwestbrookshoes.us.com
    http://www.ferragamobelt.us.org
    http://www.yeezy-shoes.us.org
    http://www.nikebasketballshoes.us.com
    http://www.linksoflondonus.com
    http://www.adidaseqts.com
    http://www.offwhitehoodie.us.com
    http://www.cheap-airjordans.us.com
    http://www.kevindurant-shoes.us.com
    http://www.jordan11retro.us.com
    http://www.lebron16.us.com
    http://www.chromeheartsstore.us
    http://www.balenciagashoes.us.com
    http://www.adidasnmduk.com
    http://www.guccibelt.us.com
    http://www.caterpillarboots.us.com
    http://www.toryburchs.us
    http://www.adidas-nmds.us.com
    http://www.goldengoose.us.com
    http://www.redbottom-shoes.us.com
    http://www.lebron16.net
    http://www.nfljerseys.us.org
    http://www.fila.us.org
    http://www.yesyeezy.shop
    http://www.yesyeezy.shop/nike-air-max-197-sean-wotherspoon-aj4219400-p-66.html
    http://www.goyard.us.com
    http://www.birkinbag.us.com
    http://www.nikereact.us.com
    http://www.offwhite.us.com
    http://www.rolex-replica.us.com
    http://www.fila-shoes.us.com
    http://www.adidasgazelle.us.com
    http://www.goldengoose-outlet.us.com
    http://www.adidas-tubular.us.com
    http://www.yeezy-boost.us.com
    http://www.michael-korsoutlets.us
    http://www.michaelkorsoutletonlineus.com
    http://www.goldengooseoutlet.us
    http://www.louboutinshoes.uk
    http://www.goyard-handbags.us.com
    http://www.yeezyboost-350.uk
    http://www.linksoflondon.us.com
    http://www.yeezyboost.com.co
    http://www.yeezyboost-350v2.us.com
    http://www.paulgeorgeshoes.us.com
    http://www.vans-shoes.us.org
    http://www.adidasoutletonline.com
    http://www.asicsgelkayano.us.com
    http://www.curry5.us.com
    http://www.mbtshoesonline.com
    http://www.nikesneakers.us.com
    http://www.yeezyshoesuk.com
    http://www.calvinkleinoutlet.us.com
    http://www.adidassuperstar.us.com
    http://www.shoesjordan.us.com
  2. 폭스킴
    tail -f /var/log/syslog
  3. 어렵네요 ㅠㅠㅠ
  4. happy
    자동 백업 .. 정말 잘쓰면 유용하겠습니다. 근데 이걸 다룰려면 공부도 좀 더해야 할듯
    재미있으면서도 어렵습니다..
  5. 롸잇나우
    동영상 잘보고있습니다.

    날짜에 00은 어떤 의미 인가요?
    날짜는 01일부터 시작 아닌가요?
  6. 문또
    day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
    이러한 개념이네요!
    대화보기
    • 조신부리
      감사합니다
    • 심석보
      동영상 상에는 0이 일요일 7일 토요일이라고 나오는데.
      인터넷 문서에는 공통적으로 0 or 7이 일요일 6이 토요일이라고 나오네요.

      우리나라의 경우 일주일의 시작이 일요일인데.
      외국 달력 같은거나. 달력어플 설정을 보면 시작이 월요일인 경우가 있어서 순서상의 문제를 양쪽다 지원하기 위함이 아닌가 싶습니다.

      그리고 0 or 7을 일관성있게만 쓰면된다는 글도 종종 보이긴하네요.
    • 나무마루
      저도 그게 광장히 궁금하네요...
      대화보기
      • 코딩의 숨소리
        0 이 sunday 이면
        일주일은 7요일 이니까
        6 까지만 있어야 하는거 아닌가요?
      • lizzy
        좋은강의 감사합니다.
      • Rags
        보안 관련 로그를 남길 때 유용 할 것 같네요 ^^
      • Starmomo
        레이님, 이고잉님, 잘 보았습니다. 고맙습니다.
      버전 관리
      egoing
      현재 버전
      선택 버전
      graphittie 자세히 보기