{"id":36314,"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:53:58","modified_gmt":"2024-12-27T11:53:58","slug":"what-are-workers","status":"publish","type":"valuekeep","link":"https:\/\/developers.ila.cegid.com\/en\/valuekeep\/integrations\/valuekeep-integrator-integrations\/article\/what-are-workers","title":{"rendered":"What are Workers?"},"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\"><span style=\"color: #333333; letter-spacing: 0.25pt; font-size: 12pt;\">When the system starts, all pipelines that have a scheduler assigned are started, creating a worker that will execute the pipeline periodically. The periodicity of execution is determined by the worker&#8217;s SleepPeriod. The first execution<br \/>\noccurs after the SleepPeriod defined by the worker&#8217;s configuration, and at the end of each execution, the scheduler is responsible for recalculating the value of the SleepPeriod according to its own configuration. This allows the scheduler to manage the execution period of the pipeline.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 12pt;\"><span style=\"color: #333333; letter-spacing: 0.25pt;\">In practice, the worker configuration should not be defined in the configuration file, we should let the system automatically assign the default configuration. We can thus omit the worker definition. Only exceptionally may it be necessary<br \/>\nto define a different configuration.<\/span><\/span><\/p>\n<\/div>\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":[836],"videos_tax":[],"post-type":[],"categoria-valuekeep":[937],"class_list":["post-36314","valuekeep","type-valuekeep","status-publish","format-standard","hentry","tag-workers","categoria-valuekeep-valuekeep-integrator-integrations"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36314","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=36314"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36314\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=36314"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=36314"},{"taxonomy":"videos_tax","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/videos_tax?post=36314"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/post-type?post=36314"},{"taxonomy":"categoria-valuekeep","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/categoria-valuekeep?post=36314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}