How to enable multiple schedules for a Scheduled Updates rule

How to enable multiple schedules for a Scheduled Updates rule

book

Article ID: KB0080610

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

When creating a scheduled update file rule, specify the schedule which will be used to keep the file cached by the Web Player service. It may be required to have different settings during different times of the day or week. In these cases you can accomplish this by enabling multiple saved schedules to your rule.

Issue/Introduction

How to enable multiple schedules for a Scheduled Updates rule.

Resolution

To enable multiple schedules:

Step 1: Create and save the multiple reusable schedules that you need to enable.

  1. Log in to Spotfire Server and click Scheduling & Routing.
  2. In the "Saved schedules" pane, click Create schedule.
  3. In the "Create schedule" dialog, enter a name for the schedule.
  4. Under Repeat, indicate the days on which you want the update to run by selecting the appropriate check boxes.
  5. Under Start and End, enter the times between which the updated analysis should be available to end users (on the days that you indicated in the previous step).
  6. Under Time zone, select the time zone for the times that you entered in the previous step.
  7. Under Reload every, select how often you want Spotfire Server to check if the analysis file or its underlying data has changed, and if so, update the pre-loaded file. If you leave the value as 0, the analysis will load once a day (on the days you selected in step 4), at the beginning of the scheduled time.
  8. Click Create.
For example, you might create two schedules:
  • Day (Hourly Update): Repeat: Monday - Sunday, Start: 9:00, End: 17:00, Check for updates every: 60 minutes
  • Night (No Update): Repeat: Monday - Sunday, Start: 17:00, End: 9:00, Check for updates every: 0 minutes

Step 2: Create your scheduling rule.

  1. Log in to Spotfire Server and click Scheduling & Routing.
  2. In the Rules pane, click Create rule.
  3. Under Type, select File, and then click Next.
  4. Enter a name for the rule and select the file that you want to update.
  5. Under Select resource pool, either leave the default routing selected or select a specific resource pool
  6. Under 'Set a schedule' choose Use saved schedule
  7. In the 'Select schedule' dialog select the multiple desired schedules (for example, "Day (Hourly Update)" and "Night (No Update)"), and click Save
  8. If you want the rule to be disabled initially, select the Disable rule check box in the bottom right of the dialog. You can enable the rule later, on the Scheduling & Routing page.
  9. In the Create rule dialog, click Save.
Now, in this example, the report will be loaded at 9am and updated every 60 minutes until 17:00. Then from 17:00 until 9:00 the next day the report will be kept in cache with no updates.
 

Additional Information

Doc: Creating a reusable schedule: Doc: Creating a scheduled update by using Spotfire Server: