Overview

Yellowfin allows user to create scheduled reports. In some instances as the administrator you will want to delete redundant schedule items. From the admin panel you will be able to view and delete all scheduled tasks without the need to open each task individually.


To access the schedule list go to Administration > Admin Console > Schedule Management.


Schedule Types

There are a range of scheduled tasks that can be setup and run in Yellowfin. These include:



Schedule Icons

Schedule icon

Name

Description

(never run)

This task has not been executed yet.

Schedule running

This task is currently running.

Last run successful

The tasks was last executed successfully.

Last run failed

This task ran unsuccessfully.

Schedule paused

This task was paused while it was running, and therefore is not incomplete.

Schedule paused, last run successful

This task last run successfully, but has been paused, and will therefore not run according to its schedule.

View Schedules

The schedule list allows you to search, view, edit, pause, run, and delete scheduled tasks.

Edit Schedule

By clicking on the name of a task, you can view its schedule details.

To edit a schedule simply click on the Edit button on the task and make the changes you require.

When finished, click the Save button to commit your changes.

View History

The History button shows previous executions of a scheduled task for the last 30 days. The system tracks scheduled executions which were successful or not. In case of content delivering tasks, such as broadcast reports, a list of recipients is maintained for each execution that tracks which users the content was successfully delivered to and which it was failed to send to. It is also possible to view the error in case of a failed delivery.

Notes:

Click on the History button to bring up a list of previous runs.

When the popup appears, executions carried out in the last 30 days will appear. Tip: you can change this limit to view executions older than 30 days by using an advanced “hidden” configuration. Click here to learn more.

Click on any task execution to expand it and view its details.

Recipient List

To view the delivery status of each recipient, click on the Recipient List button. Another popup will appear, with names of all recipients along with an icon representing the success of delivery.

Schedule task failed to deliver content to recipient. Hover on this icon to see the error message.

Schedule task successfully delivered content to recipient.

Hover over a failed delivery icon to view the failure error.

Pause Scheduled Task

To pause a task simply open it by clicking on the name of a task and click on the Pause button.

Run Scheduled Task

To run a task simply open it by clicking on the name of a task and click on the Refresh button.

Delete Scheduled Task

From the list of scheduled items select the ones you want to delete and click the Delete button.

Refresh Schedules

To refresh schedules, click on the Refresh button at the bottom of the list.

Task Scheduler Management

All scheduled tasks (such as broadcast reports, scheduled transformation flows, filters, etc.)  get added to a queue that is managed by Yellowfin’s Task Scheduler. However, there is a limit to the number of items that can be added to this queue at a time to stop the system from getting overloaded with too many waiting tasks that use up memory and CPU resources. This limit can be changed from within the web.xml file.

Task Scheduler Limits

Before updating the limit, let’s learn more about how to Task Scheduler behaves:

Updating the Task Scheduler Limit

Follow these steps to change the Task Scheduler’s thread and queue limits:

  1. Access the Yellowfin/appserver/webapps/ROOT/WEB-INF directory.

  2. Open the web.xml file.


  3. Scroll to the section on Task Scheduler. This is what it looks like in the file.

  4. Uncomment the init-param tags from this section.

  5. You can then edit the default number of tasks that can be executed concurrently, by changing the value of the TaskSchedulerThreads parameter, and the maximum number of tasks that can be added to the queue at a time, by updating the value of the TaskSchedulerMaxThreadQueue parameter.

  6. Save the file. Your queue and thread limits will be updated accordingly.