[]
        
(Showing Draft Content)

Create a Scheduled Task to Run a Datasource

Create scheduled tasks on Datasource using the Resource portal.

To Schedule a Task

Navigate to Resource portal >> Document Types >> Data >> Datasource and follow the below steps,

  1. Select the Datasource to schedule a task. With the Datasource selected, click the Info button on the top-right corner of the page.


    Schedule Task for Datasource - Select Datasource

  2. Navigate to the Tasks tab in the Info panel that appears and click the + Add Task button to create a new scheduled task.


    Schedule Task for Datasource - Add Task

  3. Under the Details section, add a task description, select the Entities (if any), and choose the Scheduled option for execution. Enter the email address to share the task document and click Create Task button to schedule the task.


    You can either use an existing schedule template or add a schedule manually as described below,


    (i) To schedule the task using an existing schedule template check the Use Template option and select a template from Choose Template drop-down. Or,


    Schedule Task for Datasource - Use Template


    (ii) To schedule a task without using a schedule template, manually enter the schedule details - Select a Daily or Monthly frequency, select one of the options from At or Every (Hours or Minutes) to set the frequency, and set the start and end date and time.

    Note: With the latest Wyn Enterprise release 6.1, the minimum frequency of Every [minute(s)] option is set to 5 minutes by default.

    Schedule Task for Datasource - Execution Frequency

Note: For successful task execution, make sure that the worker service is running in the background, else the scheduled task will fail to execute. To get the status of the worker service, navigate to the Node Management page on the Admin Portal.

To Manage a Scheduled Task

To manage a scheduled task, click the Ellipses button Ellipses Button in the Tasks tab. Use this button to disable, edit, or delete a scheduled task.


Manage Schedule Task for Datasource

  • Disable - Deactivates all future scheduled executions for that task. You can resume the task execution once you enable the scheduled task by clicking the Ellipses button.

  • Edit - Enables you to modify the existing information for that task such as the name, execution type, append or overwrite data action and so on.

  • Delete - Discards the scheduled task. Note that once you delete a scheduled task, it cannot be retrieved.