Schedule a report
A schedule generates a report on a timetable and can e-mail the file to a list of people. This page shows how to create a schedule from a dashboard, how to schedule a report that is already in your library, and how to follow what each schedule did.
Role needed: Reports: Set to create, edit, enable, disable and duplicate a schedule. Reports: Delete to delete one. Reports: Read to see schedules and their outcomes. Choosing a dashboard as the source also needs Dashboards: Read. A schedule can only run a report that you created, and an administrator account sees every schedule.
Before you start
E-mail delivery is optional. A schedule with Send by email off still generates its report. To send the file, an administrator must first:
- configure an e-mail integration, and
- allow the recipients' addresses or domains in the Reports delivery policy.
Until an administrator allows a recipient, saving a schedule that lists that address is refused, and the message names the addresses that were not allowed. The panel also shows a note when no e-mail integration is configured: the recipients are saved, but nothing is sent. Administrators set these up in E-Mail and Scheduled report delivery.
Schedule a dashboard or a report
You can open the Schedule report panel from three places:
- On the Reports page, open the Schedules tab and select Schedule report. If there are none yet, select Schedule report in the empty page.
- On a dashboard, select Export, then Schedule export. The dashboard is chosen as the source. The same choice is in Export dashboard as PDF on the Dashboards list and the dashboard page.
- In Report library, select a report's menu (More actions for the report), then Schedule…. The report is chosen as the source.
The panel has three parts: Details, Schedule and Exports. Select Schedule report to save, or Cancel to close. When you edit a schedule, the button reads Save schedule. If you have changed anything, closing asks you to confirm.
Details
| Field | Notes |
|---|---|
| Source | Required. Choose a dashboard, a report, or + New report…, which opens the report builder. A dashboard is turned into a report from a copy of its widgets, and it must hold at least one widget a report can include. |
| Report name | Required. It names the schedule and the report, and it is the default subject of the e-mail. It starts as the name of the source. |
| File type | PDF, or CSV for a report that is a single query. |
| Reporting period | For a dashboard: the period every section covers, worked out again at each run. See the table below. For an existing report, the panel shows the report's own period and layout; edit the report to change them. |
| Landscape | For a dashboard source. On, two sections sit side by side on a page. Off prints one section per page in portrait. |
The report keeps a copy of the dashboard's widgets and queries, so later changes to the dashboard do not change it. World maps are not included, and the sections follow the order of the dashboard rather than its grid. A widget type that has no report form, such as a Metric, appears as a table.
| Group | Reporting period choices |
|---|---|
| Rolling | Last 1 hour, Last 6 hours, Last 12 hours, Last 24 hours (the default), Last 3 days, Last 7 days, Last 30 days |
| Calendar | Previous day, Previous week (Monday to Sunday), Previous month |
The period is worked out once for each run, in the schedule's time zone. A rolling period ends at the scheduled time. A calendar period covers the whole previous day, week or month.
Schedule
| Field | Notes |
|---|---|
| Date | The first run, with its time. It starts at the next quarter hour. |
| Timezone | The time zone in which the date, the time and the repeat are read. It starts as your browser's time zone. |
| Repeat | Hourly, Daily, Weekly on the weekday of the start date, Monthly on the first, second, third, fourth or last weekday of the month that the start date falls on, or Custom. |
For Custom, set Every a number from 1 to 366 and a unit of hour, day, week or month. For weeks, choose the days in Repeat on; at least one is needed. For months, Repeat on offers the day of the month or the same weekday of the month as the start date.
Under the repeat, the panel states in words how the schedule repeats and lists Next runs, the times at which the schedule will run.
Exports
Each run generates the report for its reporting period and adds the file to Run history. To e-mail it, switch Send by email on.
| Field | Notes |
|---|---|
| To | Required when Send by email is on. Type an address and press Enter. Each address must be allowed by the Reports delivery policy. |
| Cc Bcc | Opens Cc and Bcc. Copies need at least one To address. Every Cc and Bcc address must also be allowed by the policy. |
| Subject | Optional. It starts as {{title}}-{{date}} scheduled report. |
| Message | Optional. It starts as "Your scheduled report is attached for you to download or share." It is sent as plain text. |
Beside Subject and Message, Add variable inserts {{title}} (the report name), {{date}} (the date of the run, in the reporting period's time zone), {{period_start}} and {{period_end}} (the reporting period, in UTC) or {{schedule}} (the schedule name). The subject is at most 200 characters and the message at most 4,000.
The panel warns that a report may contain sensitive information, so check that every recipient is allowed to see it. A schedule is refused if any address is not valid.
When the schedule is saved, the console shows Report scheduled (or Schedule saved), the next run, and a link to Reports > Schedules.
Manage the schedules of one report
Use this to see every schedule of one report together.
- In Report library, select the report's menu (More actions for the report), then Manage schedules. You can also tick one report and select Schedule.
- In Schedules, select New Schedule.
- Enter a Name, choose Enabled or Disabled, and set the Frequency: Every hour, Every 6 hours, Every day, Every week or Every 30 days.
- Set the Start date and Start time, and optionally switch to Expires on a date.
- Add any Recipients.
- Select Create Schedule.
The panel lists each schedule of the report with its state, Next run (an estimate), Last run, and Recipients. Edit changes one. The menu has Enable or Disable, Duplicate and Delete. For monthly repeats, weekdays, copies and a message, use the Schedule report panel instead.
Follow your schedules
The Schedules tab lists every schedule you can see and refreshes by itself every 15 seconds. Search scheduled reports narrows the list by name, report, label or the description of the repeat, and Refresh loads it again.
| Column | Meaning |
|---|---|
| Type | A document icon for a PDF report, a table icon for a CSV export. |
| Title | The schedule's name, which opens it for editing, and its labels. |
| Status | Active or Disabled. |
| Schedule | Hourly, Daily, Weekly, Monthly or Custom. Hover to read the full description of the repeat. |
| Next schedule | The next time it will run. It is a dash for a disabled schedule. |
| File type | PDF or CSV. |
| Last run | What happened, as the table below explains. After more than one failure in a row, the count is shown. |
| Created by | Who created it. |
| Last run | Meaning |
|---|---|
| Generated | The file was made. |
| Generated with warnings | The file was made, but one or more sections failed. Hover to see which. |
| Delivering | The e-mail is being sent. |
| Delivered | The e-mail was sent. |
| Delivered with warnings | Delivered, and one or more sections failed. |
| Delivery failed | The file was made but the e-mail was not sent. Hover for the reason. |
| Delivery uncertain | The mail server may or may not have accepted the e-mail. It is not sent again. |
| Generation failed | The file could not be made. Hover for the reason. |
| Missed | The appliance was not running at the scheduled time, so that run was not generated. |
| Queued, Running, Cancelled | The state of the run. |
| Never attempted | The schedule has not run yet. |
For each schedule, the download icon (Export report...) generates the report now in the schedule's format. For a PDF it asks for Portrait or Landscape first.
The menu of a schedule has Edit schedule config, Open in Dashboard (for a schedule made from a dashboard), Disable schedule or Enable schedule, Duplicate schedule and Delete schedule. A copy is named with (Copy) added. Delete schedule asks you to confirm and offers Also delete report definition. Without it, only the schedule is removed and the report stays in your library. Past runs stay in Run history either way.
Editing a schedule's timing, or enabling it again, starts it afresh. Runs that fell before that moment are not reported as missed.
Next steps
- Download and print: find the files that schedules generated.
- Build a report: create a report to schedule.
- Reports and dashboards: if a run fails or an e-mail does not arrive.