{"id":36311,"date":"2024-08-21T13:59:55","date_gmt":"2024-08-21T12:59:55","guid":{"rendered":"https:\/\/developers.ila.cegid.com\/valuekeep\/\/"},"modified":"2024-12-27T12:47:04","modified_gmt":"2024-12-27T11:47:04","slug":"what-are-schedulers","status":"publish","type":"valuekeep","link":"https:\/\/developers.ila.cegid.com\/en\/valuekeep\/integrations\/valuekeep-integrator-integrations\/article\/what-are-schedulers","title":{"rendered":"What are Schedulers and how to configure them?"},"content":{"rendered":"<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><div>\n<p class=\"MsoNormal\" style=\"line-height: 18.75pt; background: white; margin: 6pt 0in 6pt 0in;\"><span style=\"color: #333333; letter-spacing: 0.25pt;\">The Valuekeep Integrator &#8211; SDK provides a scheduler wizard (available in the installation folder) that allows the definition of the frequency of execution to apply to a pipeline. This assistant allows the user to obtain the &#8220;string&#8221; that should be considered for that purpose in the solution (integration.config).<\/span><\/p>\n<h2>Context<\/h2>\n<p class=\"MsoNormal\" style=\"line-height: 18.75pt; background: white; margin: 6pt 0in 6pt 0in;\"><span style=\"color: #333333; letter-spacing: 0.25pt;\">The definition of a scheduler is obtained through the following configuration parameters:<\/span><\/p>\n<ul>\n<li><span style=\"color: #333333; letter-spacing: 0.25pt;\">Time: execution period, specified in hh:mm format, even allowing the definition of different intervals;<\/span><\/li>\n<li>Days of Month: identifies the days of the month in which it is executed (interval between 1 and 31);<\/li>\n<li><span style=\"font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal;\">\u00a0<\/span><span style=\"letter-spacing: 0.25pt; text-indent: -0.25in;\">Days of Week: identifies the days of the week when it is executed (interval between 1 &#8220;Sunday&#8221; and 7 &#8220;Saturday&#8221;);<\/span><\/li>\n<li>Months: identifies the months of the year in which it is executed (interval between 1 and 12);<\/li>\n<li>Years: identifies the years considered as valid;<\/li>\n<li><span style=\"font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal;\">\u00a0<\/span><span style=\"letter-spacing: 0.25pt; text-indent: -0.25in;\">Sleep Period: identifies the time (in seconds) that the pipeline stops between each execution;<\/span><\/li>\n<li><span style=\"font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal;\">\u00a0<\/span><span style=\"letter-spacing: 0.25pt; text-indent: -0.25in;\">Execute After Initialization: when active, the pipeline executes as soon as the service starts regardless of being in a valid period.<\/span><\/li>\n<\/ul>\n<p class=\"MsoNormal\" style=\"line-height: 18.75pt; background: white; margin: 6pt 0in 6pt 0in;\"><span lang=\"PT\" style=\"color: #333333; letter-spacing: 0.25pt;\">Notes:<\/span><\/p>\n<ul>\n<li><span style=\"color: #333333; letter-spacing: 0.25pt;\"><span style=\"font: 7pt;\">\u00a0<\/span>The interval definition is expressed by the &#8220;-&#8221; character. Time: 08:00-12:00;<\/span><\/li>\n<li><span style=\"font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal;\">\u00a0<\/span><span style=\"letter-spacing: 0.25pt; text-indent: -0.25in;\">The definition of set is expressed through the character &#8220;,&#8221;. Days of Weak: 1,2,3,4,5,6,7;<\/span><\/li>\n<li>The definition of several intervals is expressed through the conjunction of the two previous items. Time: 08h00-12h00,14h00-20h00; The omitted parameters are considered as included in their full range, for example: when Days of Weak is not specified, it means that the execution occurs every day of the week;<\/li>\n<li><span style=\"font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal;\">\u00a0\u00a0<\/span><span style=\"text-indent: -0.25in; letter-spacing: 0.25pt;\">Schedulers whose execution can be expressed in seconds, only require the identification of the number of seconds in their definition (see following examples).<\/span><\/li>\n<\/ul>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Configuring Schedulers<\/h2>\n<p style=\"font-weight: 400;\">The frequency of execution of a pipeline is defined through the scheduler expressed in the configuration of the pipeline. The Schedulers catalog present in the solution available as a base example can be customized with the inclusion of new items, using the\u00a0\u00a0<b><strong><a href=\"https:\/\/helpcenter.valuekeep.com\/pt-pt\/helpcenter\/valuekeepintegrator-scheduler\/\">Valuekeep Integrator SDK<\/a><\/strong><\/b>.<\/p>\n<p style=\"font-weight: 400;\">The definition of a Scheduller is synthesized in the definition of two attributes:<\/p>\n<ul style=\"font-weight: 400;\">\n<li><b><strong>Id<\/strong><\/b>:\u00a0identification or designation of the scheduler;<\/li>\n<li><b><strong>ConfigStr<\/strong><\/b>:\u00a0configuration string that represents the execution frequency, obtained using the utility or expressed in seconds<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsn0df24faee030487ef93e7361e8ae16b6b3f6da129dc66871ddf19d127d4913963e2651804b5db37ff6308dd70cf57fb553db3f953e1db688b0eef2e61cff093b?inline=true\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsnd8de0841a4f496573cbacdbc5881c534d6dedae5b56e895cd8d4d9deb2ca26f824672c51a5a5fbb0cb9f25acbb6dc2ef1cba6124cbf5c764dd3e40116481c67b?inline=true\" \/><\/p>\n<p>The Valuekeep API should only be consulted for a minimum of 5 min (300 seconds). Any scheduler identified above serves merely as an example.<\/p>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","tags":[835],"videos_tax":[],"post-type":[],"categoria-valuekeep":[937],"class_list":["post-36311","valuekeep","type-valuekeep","status-publish","format-standard","hentry","tag-shedulers","categoria-valuekeep-valuekeep-integrator-integrations"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/valuekeep"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/comments?post=36311"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36311\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=36311"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=36311"},{"taxonomy":"videos_tax","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/videos_tax?post=36311"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/post-type?post=36311"},{"taxonomy":"categoria-valuekeep","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/categoria-valuekeep?post=36311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}