You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/customization/custom-scripts.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,7 +267,7 @@ An IPv4 or IPv6 network with a mask. Returns a `netaddr.IPNetwork` object. Two a
267
267
268
268
### Via the Web UI
269
269
270
-
Custom scripts can be run via the web UI by navigating to the script, completing any required form data, and clicking the "run script" button.
270
+
Custom scripts can be run via the web UI by navigating to the script, completing any required form data, and clicking the "run script" button. It is possible to schedule a script to be executed at specified time in the future. A scheduled script can be canceled by deleting the associated job result object.
Copy file name to clipboardExpand all lines: docs/customization/reports.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ Once you have created a report, it will appear in the reports list. Initially, r
136
136
137
137
### Via the Web UI
138
138
139
-
Reports can be run via the web UI by navigating to the report and clicking the "run report" button at top right. Once a report has been run, its associated results will be included in the report view.
139
+
Reports can be run via the web UI by navigating to the report and clicking the "run report" button at top right. Once a report has been run, its associated results will be included in the report view. It is possible to schedule a report to be executed at specified time in the future. A scheduled report can be canceled by deleting the associated job result object.
140
140
141
141
### Via the API
142
142
@@ -152,6 +152,8 @@ Our example report above would be called as:
152
152
POST /api/extras/reports/devices.DeviceConnectionsReport/run/
153
153
```
154
154
155
+
Optionally `schedule_at` can be passed in the form data with a datetime string to schedule a script at the specified date and time.
156
+
155
157
### Via the CLI
156
158
157
159
Reports can be run on the CLI by invoking the management command:
0 commit comments