{"id":36172,"date":"2024-08-21T13:59:55","date_gmt":"2024-08-21T12:59:55","guid":{"rendered":"https:\/\/developers.ila.cegid.com\/valuekeep\/\/"},"modified":"2024-12-26T10:58:31","modified_gmt":"2024-12-26T09:58:31","slug":"26292","status":"publish","type":"valuekeep","link":"https:\/\/developers.ila.cegid.com\/es\/valuekeep\/integraciones\/valuekeep-integrator-es\/article\/26292","title":{"rendered":"\u00bfQu\u00e9 son los Schedulers y c\u00f3mo configurarlos?"},"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=\"font-size: 12pt;\"><b><i><span lang=\"ES\" style=\"color: #333333;\">Valuekeep Integrator \u2013 SDK<\/span><\/i><\/b><span lang=\"ES\" style=\"color: #333333;\">\u00a0pone a disposici\u00f3n un <i>scheduler\u00a0<\/i>asistente (disponible en la carpeta de instalaci\u00f3n) que permite definir la frecuencia de ejecuci\u00f3n a aplicar a un\u00a0<i>pipeline<\/i>. Este asistente, permite obtener la \u201c<i>string<\/i>\u201d que deber\u00e1 ser considerada para el efecto en la soluci\u00f3n (<i>integration.config<\/i>).<\/span><\/span><\/p>\n<h2>Contexto<\/h2>\n<p class=\"MsoNormal\" style=\"line-height: 18.75pt; background: white; margin: 6pt 0in 6pt 0in;\"><span lang=\"ES\" style=\"font-size: 12pt; color: #333333;\">La definici\u00f3n de un\u00a0<i>scheduler<\/i> es obtenida a trav\u00e9s de los siguientes par\u00e1metros de configuraci\u00f3n:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Time<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: periodo de ejecuci\u00f3n, especificada en el formato hh:mm, permitiendo incluso la definici\u00f3n de diferentes intervalos;<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Days of Month<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: identifica los d\u00edas del mes en que es ejecutado (intervalo entre 1 y 31);<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Days of Week<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: identifica los d\u00edas de la semana en que es ejecutado (intervalo entre 1 \u201cdomingo\u201d y 7\u00a0 \u201cs\u00e1bado\u201d);<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Months<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: identifica los meses del a\u00f1o en que es ejecutado (intervalo entre 1 y 12);<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><span style=\"font-variant-numeric: normal; font-stretch: normal; line-height: normal;\">\u00a0<\/span><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Years<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: identifica los a\u00f1os considerados como v\u00e1lidos;<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Sleep Period<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: identifica el tiempo (en segundos) que el pipeline para entre cada ejecuci\u00f3n;<\/span><\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\"><span style=\"font-variant-numeric: normal; font-stretch: normal; line-height: normal;\">\u00a0<\/span><b style=\"text-indent: -0.25in;\"><span lang=\"ES\">Execute After Inicialization<\/span><\/b><span lang=\"ES\" style=\"text-indent: -0.25in;\">: cuando est\u00e1 activo, el pipeline ejecuta en el momento en que el servicio es<br \/>\ninicializado independientemente de estar en un periodo v\u00e1lido.<\/span><\/span><\/li>\n<\/ol>\n<p class=\"MsoNormal\" style=\"line-height: 18.75pt; background: white; margin: 6pt 0in 6pt 0in;\"><span lang=\"ES\" style=\"font-size: 12pt; color: #333333;\">Notas: <\/span><\/p>\n<ol>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt; text-indent: -0.25in;\">La definici\u00f3n de intervalo es expresa a trav\u00e9s del car\u00e1cter \u201c-\u201c. Time: 08h00-12h00;<\/span><\/li>\n<li style=\"list-style-type: disc;\"><span lang=\"ES\" style=\"text-indent: -0.25in; font-size: 12pt;\">La definici\u00f3n de conjunto es expresa a trav\u00e9s del car\u00e1cter \u201c,\u201c. Days of Week: 1,2,3,4,5,6,7;<\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\">La definici\u00f3n de diversos <\/span><span style=\"font-size: 12pt;\">intervalos es expresa a trav\u00e9s de la agrupaci\u00f3n de los dos \u00edtems anteriores. <\/span><span style=\"font-size: 12pt;\">Time: 08h00-12h00,14h00-20h00;<\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\">Los par\u00e1metros omitidos son <\/span><span style=\"font-size: 12pt;\">considerados como incluidos en su total amplitud, por ejemplo: cuando no es <\/span><span style=\"font-size: 12pt;\">especificado Days of Week, significa que la ejecuci\u00f3n ocurre todos los d\u00edas de <\/span><span style=\"font-size: 12pt;\">la semana;<\/span><\/li>\n<li style=\"list-style-type: disc;\"><span style=\"font-size: 12pt;\">Schedulers cuya ejecuci\u00f3n puede <\/span><span style=\"font-size: 12pt;\">ser expresa en segundos solo exigen la identificaci\u00f3n del n\u00famero de segundos en<\/span><br \/>\n<span style=\"font-size: 12pt;\"> su definici\u00f3n (ver ejemplos siguientes).<\/span><\/li>\n<\/ol>\n<div style=\"color: #000000; background-color: #fffffe; font-size: 12px; line-height: 18px; white-space: pre;\">\n<div><\/div>\n<div><span style=\"font-size: 12pt;\"><span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Schedulers<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">Default<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">20<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EverySecond<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">1<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryTwoSeconds<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">2<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryFiveSeconds<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">5<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryTenSeconds<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">10<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryTwentySeconds<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">20<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryMinute<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">60<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">EveryFiveMinutes<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">300<\/span>?\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #0000ff;\">&lt;<\/span><span style=\"color: #800000;\">Scheduler<\/span>\u00a0<span style=\"color: #ff0000;\">Id<\/span>=\u201d<span style=\"color: #ff0000;\">NightWatch<\/span>\u201d\u00a0<span style=\"color: #ff0000;\">ConfigStr<\/span>=\u201d<span style=\"color: #ff0000;\">QuickStart<\/span>=<span style=\"color: #ff0000;\">True<\/span>;\u00a0<span style=\"color: #ff0000;\">SleepPeriod<\/span>=<span style=\"color: #ff0000;\">60<\/span>;\u00a0<span style=\"color: #ff0000;\">Time<\/span>=<span style=\"color: #ff0000;\">20:00-23<\/span>:<span style=\"color: #ff0000;\">59<\/span>;\u201d\u00a0<span style=\"color: #800000;\">\/<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<div><span style=\"color: #0000ff; font-size: 12pt;\"><!--<\/span--><span style=\"color: #800000;\">Schedulers<\/span><span style=\"color: #0000ff;\">&gt;<\/span><\/span><\/div>\n<\/div>\n<\/div>\n<div><\/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 id=\"configurarshedulers\">Configurar Shedulers<\/h2>\n<p>La frecuencia de ejecuci\u00f3n de un\u00a0pipeline\u00a0es definida a trav\u00e9s del scheduler\u00a0expreso en la configuraci\u00f3n del pipeline.\u00a0El\u00a0cat\u00e1logo de\u00a0<b><strong>Schedulers<\/strong><\/b>\u00a0presente en la soluci\u00f3n disponible como ejemplo base, podr\u00e1 ser personalizado con la inclusi\u00f3n de nuevos \u00edtems, con recurso a la utilidad\u00a0<a href=\"https:\/\/helpcenter.valuekeep.com\/pt-pt\/helpcenter\/valuekeepintegrator-scheduler\/\"><b><strong>Valuekeep Integrator SDK<\/strong><\/b><\/a>.<\/p>\n<p>La definici\u00f3n de un\u00a0<em>Scheduller\u00a0<\/em>es sintetizada en la definici\u00f3n de dos atributos:<\/p>\n<ul>\n<li><b><strong>Id<\/strong><\/b>: identificaci\u00f3n o designaci\u00f3n del scheduler;<\/li>\n<li><b><strong>ConfigStr<\/strong><\/b>: string de configuraci\u00f3n que representa la frecuencia de ejecuci\u00f3n, obtenida con recurso a la utilidad o expresa en segundos.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsnd3e59d3730ce914804000ad48bcba49cf819ae674df443306eb2809587fa60cb4c0fce3778a045217274522e34228a98a1266513003943deb8fdd8c19774488b?inline=true\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsnd3e59d3730ce914804000ad48bcba49cb26dce07052bea9c2337297f5c7c0d3c77952c7e6aeb4dfc0b7f06f56926b6b10538a523b26035bf9ea3c99a1abd0357?inline=true\" \/><\/p>\n<p>La Api de Valuekeep solo deber\u00e1 ser consultada con un m\u00ednimo de 5 min. (300 segundos). Cualquiera de los schedulers identificados anteriormente solo es un ejemplo.<\/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":[846],"videos_tax":[],"post-type":[],"categoria-valuekeep":[968],"class_list":["post-36172","valuekeep","type-valuekeep","status-publish","format-standard","hentry","tag-schedulers","categoria-valuekeep-valuekeep-integrator-es"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/valuekeep\/36172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/valuekeep"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/types\/valuekeep"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/comments?post=36172"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/valuekeep\/36172\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/media?parent=36172"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/tags?post=36172"},{"taxonomy":"videos_tax","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/videos_tax?post=36172"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/post-type?post=36172"},{"taxonomy":"categoria-valuekeep","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/es\/wp-json\/wp\/v2\/categoria-valuekeep?post=36172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}