{"id":27,"date":"2018-09-27T13:48:40","date_gmt":"2018-09-27T13:48:40","guid":{"rendered":"http:\/\/tamer-az.com\/?p=27"},"modified":"2018-09-27T13:48:40","modified_gmt":"2018-09-27T13:48:40","slug":"how-to-display-list-all-jobs-in-cron-crontab","status":"publish","type":"post","link":"https:\/\/tamer-az.com\/?p=27","title":{"rendered":"How to Display (List) All Jobs in Cron \/ Crontab"},"content":{"rendered":"\n<p>ervers can automatically perform tasks that you would otherwise have \nto perform yourself, such as running scripts. On Linux servers, the <strong>cron<\/strong>\n utility is the preferred way to automate the running of scripts. In \nthis article we\u2019ll cover how to view the jobs scheduled in the crontab \nlist. For an introduction to Cron check-out our KB: <a href=\"https:\/\/www.liquidweb.com\/kb\/how-to-automate-server-scripts-with-cron\/\">How To: Automate Server Scripts With Cron<\/a>.\n Knowing how to setup crontab is an important skill, but even if you\u2019re \nnot editing these knowing how to view them is important as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to view the Crontab list of jobs<\/h2>\n\n\n\n<p>To view Root\u2019s Cron Jobs<\/p>\n\n\n\n<p><code>crontab -l<\/code><\/p>\n\n\n\n<p><code><\/code>View a User\u2019s Cron Jobs<\/p>\n\n\n\n<p><code>crontab -u username -l<\/code><\/p>\n\n\n\n<p><code><\/code>View All users corn Jobs<br\/><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tail -n 1000 \/var\/spool\/cron\/*<\/code><\/pre>\n\n\n\n<p><code><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ervers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. In this article we\u2019ll cover how to view the jobs scheduled in the crontab list. For an introduction to Cron check-out our KB: How To: Automate Server<\/p>\n<div class=\"clearfix\"><\/div>\n<div class=\"pull-left padding-top-25\"><a href=\"https:\/\/tamer-az.com\/?p=27\" class=\"btn btn-theme\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Display (List) All Jobs in Cron \/ Crontab&#8221;<\/span> <i class=\"fa fa-fw fa-long-arrow-right\"><\/i> <\/a>  <\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-linux"],"_links":{"self":[{"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamer-az.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":1,"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/tamer-az.com\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/tamer-az.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamer-az.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamer-az.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}