{"id":1029,"date":"2015-08-24T16:44:38","date_gmt":"2015-08-24T14:44:38","guid":{"rendered":"http:\/\/www.kreuzer-it.de\/wordpress\/?p=1029"},"modified":"2025-02-05T14:29:16","modified_gmt":"2025-02-05T13:29:16","slug":"cron-job-schauen","status":"publish","type":"post","link":"https:\/\/kreuzer-it.de\/wordpress\/cron-job-schauen\/","title":{"rendered":"Cron Job schauen"},"content":{"rendered":"<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n<\/p>\n<p><span style=\"text-decoration:underline\">Cron Job schauen<br \/>\n<\/span><\/p>\n<p>ls \/etc\/cron.d\n<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n<\/p>\n<p><span style=\"text-decoration:underline\">anschauen von dem Cronjob<br \/>\n<\/span><\/p>\n<p>cd \/etc\/cron.d\n<\/p>\n<p>less &lt;dateiname&gt;\n<\/p>\n<p>Taste q zum Beenden der Anzeige\n<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\n<\/p>\n<p><span style=\"text-decoration:underline\">Cron Job anlagen oder ver\u00e4ndern<br \/>\n<\/span><\/p>\n<p>cd \/etc\/cron.d\n<\/p>\n<p>vi &lt;Dateiname&gt;  zB: vi micha1\n<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\n<\/p>\n<p>15 20 * * * root \/sbin\/halt\n<\/p>\n<p>Taste i  um in den Insertmodus zu wechseln (Anzeige INSERT in der Fu\u00dfzeile)\n<\/p>\n<p>Text nach Wunsch bearbeiten\n<\/p>\n<p>Taste ESC um zur\u00fcck in den Kommandomodus zu kommen\n<\/p>\n<p>Zum Speichern  :wq  (Doppelpunkt, w, q)   und Enter      (write quit)\n<\/p>\n<p>\u00c4nderungen verwerfen und beenden :q! (Doppelpunkt, q, Ausrufezeichen)\n<\/p>\n<p>Exit\n<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n<\/p>\n<p><span style=\"font-family:Arial; font-size:12pt\"><strong>To remove an existing cron job:<br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"font-size:12pt\"><span style=\"font-family:Symbol\">\uf095\uf020<\/span><span style=\"font-family:Arial\"><strong>Enter: <\/strong><\/span><span style=\"font-family:Arial\">crontab \u2013e<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-size:12pt\"><span style=\"font-family:Symbol\">\uf095\uf020<\/span><span style=\"font-family:Arial\">Delete the line that contains your cron job<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-size:12pt\"><span style=\"font-family:Symbol\">\uf095\uf020<\/span><span style=\"font-family:Arial\">Hit ESC &gt; :w &gt; :q<\/span><\/span>\n\t<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"font-family:Times New Roman; font-size:14pt\"><strong>Beispiele [<a href=\"\/w\/index.php?title=Cron&amp;action=edit&amp;section=2\"><span style=\"color:blue; text-decoration:underline\">Bearbeiten<\/span><\/a>]<br \/>\n<\/strong><\/span><\/p>\n<div>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:40px\"\/>\n<col style=\"width:40px\"\/>\n<col style=\"width:23px\"\/>\n<col style=\"width:34px\"\/>\n<col style=\"width:57px\"\/>\n<col style=\"width:430px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Minute<\/strong><\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Stunde<\/strong><\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Tag<\/strong><\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Monat<\/strong><\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Wochentag<\/strong><\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-family:Times New Roman; font-size:12pt\"><strong>Bedeutung<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">0<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">0<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">T\u00e4glich null Uhr<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">5<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">F\u00fcnf Minuten nach jeder vollen Stunde<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*\/5<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">Alle 5 Minuten<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">59<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">23<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">0<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">Jeden Sonntag (Sonntag kann als 0 oder 7 geschrieben werden) um 23:59 Uhr<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">20,30<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">1<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">*<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">1-5<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">Montags bis Freitags jeweils um 01:20 und 01:30 Uhr<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">0<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">1<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">1-7<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">12<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Courier New; font-size:10pt\">1<\/span><\/p>\n<\/td>\n<td vAlign=\"middle\" style=\"border-top:  none; border-left:  none; border-bottom:  none; border-right:  none\">\n<p><span style=\"font-family:Times New Roman; font-size:12pt\">Am 1. bis 7. Dezember sowie an jedem Montag im Dezember um ein Uhr nachts<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Cron Job schauen ls \/etc\/cron.d &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- anschauen von dem Cronjob cd \/etc\/cron.d less &lt;dateiname&gt; Taste q zum Beenden der Anzeige &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Cron Job anlagen oder ver\u00e4ndern cd \/etc\/cron.d vi &lt;Dateiname&gt; zB: vi micha1 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 15 20 * * * &hellip; <a href=\"https:\/\/kreuzer-it.de\/wordpress\/cron-job-schauen\/\">Weiterlesen <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":"gallery","meta":{"footnotes":""},"categories":[15],"tags":[23],"class_list":["post-1029","post","type-post","status-publish","format-gallery","hentry","category-uncategorized","tag-cron-job-schauen","post_format-post-format-gallery"],"_links":{"self":[{"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/posts\/1029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/comments?post=1029"}],"version-history":[{"count":1,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/posts\/1029\/revisions"}],"predecessor-version":[{"id":1413,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/posts\/1029\/revisions\/1413"}],"wp:attachment":[{"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/media?parent=1029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/categories?post=1029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kreuzer-it.de\/wordpress\/wp-json\/wp\/v2\/tags?post=1029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}