{"id":2677,"date":"2015-10-27T15:50:43","date_gmt":"2015-10-27T15:50:43","guid":{"rendered":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/maintenance\/scheduled-jobs\/"},"modified":"2021-08-26T12:41:07","modified_gmt":"2021-08-26T12:41:07","slug":"scheduled-jobs","status":"publish","type":"page","link":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/","title":{"rendered":"Scheduled jobs"},"content":{"rendered":"<p>There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but could also be used to schedule some additional custom projects.<\/p>\n<p>Click on \u201cscheduler monitor\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5026\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png\" alt=\"\" width=\"1593\" height=\"896\" \/><\/p>\n<p>Here you can see if the scheduler is running. By default Twproject scheduler is launched when the application starts.<\/p>\n<p>You can stop the engine and restart it. By default the scheduler perform a check of waiting jobs every 5 seconds.<\/p>\n<p>\u201cjobs recently launched\u201d contains (usually nothing) jobs that are currently running.<\/p>\n<p>The bottom box contains jobs that are waiting to be launched. Next and last run times are both displayed.<\/p>\n<p>You can force a job execution by clicking on <img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/2014\/02\/clip_image008.jpg\" alt=\"\" width=\"60\" height=\"25\" border=\"0\" \/>button.<\/p>\n<p>Twproject\u2019s scheduler is built to run also in cluster environments. One node only will run a project, inhibiting the other.<\/p>\n<p>You can change timing of a job by editing it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5027\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/email-downloader.png\" alt=\"\" width=\"1582\" height=\"549\" \/><\/p>\n<p>You will have different kinds of schedule: minutes, single, daily, weekly and so on. For example,<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4980 size-full\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/event-schedule-1.png\" alt=\"\" width=\"526\" height=\"176\" \/><br \/>\nmeans every 180 minutes forever.<\/p>\n<p>In the right part you must specify a class. In some cases you may have to insert parameters.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but could also be used to schedule some additional custom projects. Click on \u201cscheduler monitor\u201d: Here you can see if the scheduler is running. By default Twproject scheduler is launched when the application starts. You [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2565,"menu_order":6,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2677","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Scheduled jobs | Twproject support<\/title>\n<meta name=\"description\" content=\"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scheduled jobs | Twproject support\" \/>\n<meta property=\"og:description\" content=\"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but\" \/>\n<meta property=\"og:url\" content=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/\" \/>\n<meta property=\"og:site_name\" content=\"Twproject support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/twproject\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-26T12:41:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1593\" \/>\n\t<meta property=\"og:image:height\" content=\"896\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/\",\"url\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/\",\"name\":\"Scheduled jobs | Twproject support\",\"isPartOf\":{\"@id\":\"https:\/\/twproject.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png\",\"datePublished\":\"2015-10-27T15:50:43+00:00\",\"dateModified\":\"2021-08-26T12:41:07+00:00\",\"description\":\"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but\",\"breadcrumb\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage\",\"url\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png\",\"contentUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png\",\"width\":1593,\"height\":896},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/twproject.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced usage\",\"item\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Monitoring\",\"item\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Scheduled jobs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/twproject.com\/support\/#website\",\"url\":\"https:\/\/twproject.com\/support\/\",\"name\":\"Twproject support\",\"description\":\"Twproject documentation online\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/twproject.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scheduled jobs | Twproject support","description":"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/","og_locale":"en_US","og_type":"article","og_title":"Scheduled jobs | Twproject support","og_description":"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but","og_url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/","og_site_name":"Twproject support","article_publisher":"https:\/\/www.facebook.com\/twproject","article_modified_time":"2021-08-26T12:41:07+00:00","og_image":[{"width":1593,"height":896,"url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png","type":"image\/png"}],"twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/","url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/","name":"Scheduled jobs | Twproject support","isPartOf":{"@id":"https:\/\/twproject.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage"},"image":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage"},"thumbnailUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png","datePublished":"2015-10-27T15:50:43+00:00","dateModified":"2021-08-26T12:41:07+00:00","description":"There are several\u00a0activities in Twproject that are executed during batch processes. Twproject includes a powerful scheduler that is used internally but","breadcrumb":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#primaryimage","url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png","contentUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/scheduler.png","width":1593,"height":896},{"@type":"BreadcrumbList","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/scheduled-jobs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/twproject.com\/support\/"},{"@type":"ListItem","position":2,"name":"Advanced usage","item":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/"},{"@type":"ListItem","position":3,"name":"Monitoring","item":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/monitoring\/"},{"@type":"ListItem","position":4,"name":"Scheduled jobs"}]},{"@type":"WebSite","@id":"https:\/\/twproject.com\/support\/#website","url":"https:\/\/twproject.com\/support\/","name":"Twproject support","description":"Twproject documentation online","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/twproject.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/comments?post=2677"}],"version-history":[{"count":0,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2677\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2565"}],"wp:attachment":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/media?parent=2677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}