{"id":1563,"date":"2013-08-03T21:46:16","date_gmt":"2013-08-03T15:46:16","guid":{"rendered":"http:\/\/notes.norfolks.org\/?p=1563"},"modified":"2013-08-03T21:46:32","modified_gmt":"2013-08-03T15:46:32","slug":"%d1%81%d0%b8%d0%bd%d1%82%d0%b0%d0%ba%d1%81%d0%b8%d1%81-crontab","status":"publish","type":"post","link":"https:\/\/notes.norfolks.fun\/?p=1563","title":{"rendered":"\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 crontab"},"content":{"rendered":"<pre lang=\"bash\">$ crontab -e<\/pre>\n<pre lang=\"bash\">1 2 3 4 5 \/path\/to\/command arg1 arg2<\/pre>\n<p>\u0438\u043b\u0438<\/p>\n<pre lang=\"bash\">1 2 3 4 5 USERNAME \/path\/to\/command arg1 arg2<\/pre>\n<p>\u0433\u0434\u0435,<br \/>\n1: \u043c\u0438\u043d\u0443\u0442\u044b (0-59)<br \/>\n2: \u0447\u0430\u0441\u044b (0-23)<br \/>\n3: \u0434\u043d\u0438 (0-31)<br \/>\n4: \u043c\u0435\u0441\u044f\u0446\u044b (0-12 [12 == \u0434\u0435\u043a\u0430\u0431\u0440\u044c])<br \/>\n5: \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438(0-7 [7 or 0 == \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435])<\/p>\n<p>\/path\/to\/command &#8212; \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430<\/p>\n<p><code>* * * * * command to be executed<br \/>\n- - - - -<br \/>\n| | | | |<br \/>\n| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)<br \/>\n| | | ------- Month (1 - 12)<br \/>\n| | --------- Day of month (1 - 31)<br \/>\n| ----------- Hour (0 - 23)<br \/>\n------------- Minute (0 - 59)<\/code><\/p>\n<p><a href=\"http:\/\/www.cyberciti.biz\/faq\/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses\/\">http:\/\/www.cyberciti.biz\/faq\/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ crontab -e 1 2 3 4 5 \/path\/to\/command arg1 arg2 \u0438\u043b\u0438 1 2 3 4 5 USERNAME \/path\/to\/command arg1 arg2 \u0433\u0434\u0435, 1: \u043c\u0438\u043d\u0443\u0442\u044b (0-59) 2: \u0447\u0430\u0441\u044b (0-23) 3: \u0434\u043d\u0438 (0-31) 4: \u043c\u0435\u0441\u044f\u0446\u044b (0-12 [12 == \u0434\u0435\u043a\u0430\u0431\u0440\u044c]) 5: \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438(0-7 &hellip; <a href=\"https:\/\/notes.norfolks.fun\/?p=1563\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,14,8],"tags":[],"class_list":["post-1563","post","type-post","status-publish","format-standard","hentry","category-cron","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1563"}],"version-history":[{"count":2,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1563\/revisions"}],"predecessor-version":[{"id":1565,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1563\/revisions\/1565"}],"wp:attachment":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}