{"id":338,"date":"2019-03-08T07:33:16","date_gmt":"2019-03-08T07:33:16","guid":{"rendered":"http:\/\/www.hadooh.com\/?p=338"},"modified":"2019-03-08T07:34:09","modified_gmt":"2019-03-08T07:34:09","slug":"%ec%9c%a0%eb%8b%89%ec%8a%a4-test-%eb%aa%85%eb%a0%b9%ec%96%b4-%ec%99%80-crontab","status":"publish","type":"post","link":"https:\/\/www.hadooh.com\/?p=338","title":{"rendered":"\uc720\ub2c9\uc2a4 test \uba85\ub839\uc5b4 \uc640 crontab"},"content":{"rendered":"<p>\ub450\ubc88\uc9f8 \uc8fc\uc758 \uc218\uc694\uc77c\uc5d0 \ubc30\uce58\uc791\uc5c5\uc744 \uc2e4\ud589<br \/>\n   = 8-14\uc77c \uc0ac\uc774\uc5d0 \uc218\uc694\uc77c\uc774 \uc788\uc73c\uba74 \ubc30\uce58\uc791\uc5c5\uc744 \uc2e4\ud589\ud55c\ub2e4<\/p>\n<p>crontab<br \/>\n00 10 8-14 * * test `date +\\%u` == 3 &#038;&#038; batch.sh<\/p>\n<p>\ud14c\uc2a4\ud2b8\ubc29\ubc95<br \/>\necho `date +\\%u` \ub97c \uc2e4\ud589\ud558\uba74 \uc22b\uc790\uac00 \ub098\uc634<br \/>\n\uc22b\uc790\uc758\ubbf8 : 1 \uc6d4\uc694\uc77c , 2 \ud654\uc694\uc77c &#8230; 5 \uae08\uc694\uc77c .. 7 \uc77c\uc694\uc77c<\/p>\n<p>test `date +\\%u` == 3<br \/>\necho $? => \ubc14\ub85c\uc804\uc5d0 \uc2e4\ud589\ud55c \uacb0\uacfc\uac12\uc744 \ucd9c\ub825\ud55c\ub2e4<br \/>\n\uac19\uc73c\uba74 0 \ub2e4\ub974\uba74 1\uc744 \ucd9c\ub825\ud55c\ub2e4.<\/p>\n<p>\uc815\ub9ac\ud558\uc790\uba74 8-14\uc77c \uc0ac\uc774\uc5d0 \uacc4\uc18d \uc2e4\ud589\uc744 \ud558\uc9c0\ub9cc<br \/>\ntest\uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud574\uc11c \ud574\ub2f9\uc694\uc77c\uc774 \uc218\uc694\uc77c\uc774\uba74 \ubc30\uce58\uac00 \uc2e4\ud589\ub418\uace0 \uc544\ub2c8\uba74 \ubc30\uce58\ub97c \uc2e4\ud589\ud558\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub450\ubc88\uc9f8 \uc8fc\uc758 \uc218\uc694\uc77c\uc5d0 \ubc30\uce58\uc791\uc5c5\uc744 \uc2e4\ud589 = 8-14\uc77c \uc0ac\uc774\uc5d0 \uc218\uc694\uc77c\uc774 \uc788\uc73c\uba74 \ubc30\uce58\uc791\uc5c5\uc744 \uc2e4\ud589\ud55c\ub2e4 crontab 00 10 8-14 * * test `date +\\%u` == 3 &#038;&#038; batch.sh \ud14c\uc2a4\ud2b8\ubc29\ubc95 echo `date +\\%u` \ub97c \uc2e4\ud589\ud558\uba74 \uc22b\uc790\uac00 \ub098\uc634 \uc22b\uc790\uc758\ubbf8 : 1 \uc6d4\uc694\uc77c , 2 \ud654\uc694\uc77c &#8230; 5 \uae08\uc694\uc77c .. 7 \uc77c\uc694\uc77c test `date +\\%u` == 3 echo $? => \ubc14\ub85c\uc804\uc5d0 &hellip; <a href=\"https:\/\/www.hadooh.com\/?p=338\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\uc720\ub2c9\uc2a4 test \uba85\ub839\uc5b4 \uc640 crontab<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/338"}],"collection":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=338"}],"version-history":[{"count":2,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":340,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions\/340"}],"wp:attachment":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}