{"id":27072,"date":"2021-03-17T06:42:55","date_gmt":"2021-03-17T06:42:55","guid":{"rendered":"https:\/\/developer.kore.ai\/v9-0\/?p=27072"},"modified":"2021-03-17T06:42:55","modified_gmt":"2021-03-17T06:42:55","slug":"alert-task-configuring-the-schedule","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-0\/docs\/bots\/bot-builder-tool\/alert\/alert-task-configuring-the-schedule\/","title":{"rendered":"Alert Task \u2013 Configuring the Schedule"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><a href=\"\/v9-0\/v9-0\/docs\/bots\/bot-builder-tool\/alert\/notification-tasks\/#Alert_Settings\" target=\"_blank\" rel=\"noopener noreferrer\">As seen here<\/a>, alert tasks only reach out to a web service for data when the Bot makes a request. For each task, you need to define when, and how often the web service is queried for data for an alert message. You can define the scheduling options presented to the end-user when the task is set up, as well as the default schedule for the task.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4>Configuring the Schedule for a Task<\/h4>\n<p>You need to configure the default settings for how often the task runs to request data from your web service. This topic describes how to configure the recurrence\u00a0for a task.<br \/>\nTo get started with defining the schedule to run a\u00a0task, on the <strong>Settings<\/strong>\u00a0tab, click the <strong>Expand<\/strong> icon in the <strong>Schedule<\/strong>\u00a0section as shown in the following illustration.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/21\/DIYAlertTaskSettingsTabScheduleSection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9931\" src=\"\/wp-content\/uploads\/sites\/21\/DIYAlertTaskSettingsTabScheduleSection.png\" alt=\"Alert Task - Settings Tab - Schedule Section\" width=\"765\" height=\"345\" \/><\/a><br \/>\nTo configure the schedule for your task, you must\u00a0define the <strong>Trigger Interval Options<\/strong>, and then the <strong>Default\u00a0Trigger Interval.<\/strong> The\u00a0<strong>Default Trigger Interval<\/strong> is the elapsed time between the last task request and the next automated task request.<br \/>\nTo set the options displayed to the end-user, in the <strong>Trigger Interval Options<\/strong> section:<\/p>\n<ul>\n<li>In the first field, select one or more of <strong>Daily<\/strong>, <strong>Weekday<\/strong>, <strong>Weekend<\/strong>, individual <strong>days of the week<\/strong> or <strong>Select All<\/strong>, and then click <strong>OK<\/strong>.<\/li>\n<li>In the second field, select one or more of <b>Every, At<\/b>, or <strong>Select All<\/strong>, and then click <strong>OK<\/strong>.<\/li>\n<li>In the third field, select one or more of the available 5-minute intervals or 30-minute time slots (based on whether the second field is Every or At), or <strong>Select All<\/strong>, and then click <strong>OK<\/strong>.<\/li>\n<\/ul>\n<p>In the following illustration, the <strong>Default Trigger Interval<\/strong> settings of\u00a0 <strong>Daily <\/strong><strong>At<\/strong> &lt; <em><strong>any 30-minute interval\u00a0<\/strong><\/em>&gt;.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/21\/DIYAlertTaskSettingsTabScheduleSectionTrigger.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9932\" src=\"\/wp-content\/uploads\/sites\/21\/DIYAlertTaskSettingsTabScheduleSectionTrigger.png\" alt=\"Alert Task - Settings Tab - Schedule Section - Trigger Interval\" width=\"685\" height=\"272\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"As seen here, alert tasks only reach out to a web service for data when the Bot makes a request. For each task, you need to define when, and how often the web service is queried for data for an alert message. You can define the scheduling options presented to the end-user when the task...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[],"class_list":["post-27072","post","type-post","status-publish","format-standard","hentry","category-alert"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/27072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/comments?post=27072"}],"version-history":[{"count":2,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/27072\/revisions"}],"predecessor-version":[{"id":27429,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/27072\/revisions\/27429"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/media?parent=27072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/categories?post=27072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/tags?post=27072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}