config analytics

Prev Next

Commands for inspecting and changing the analytics schedule.


show analytics schedule

Print a table of all the different analytics scripts stored in the schedule.

show analytics schedule

Example output:

[Mon Dec 23 02:21:50 2024] > show analytics schedule
[Mon Dec 23 02:21:51 2024]
[Mon Dec 23 02:21:51 2024] Scheduled Capture Status
[Mon Dec 23 02:21:51 2024]
[Mon Dec 23 02:21:51 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:21:51 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:21:51 2024] monday-only                              |        | 00:00:00 | 23:59:59 | Y |   |   |   |   |   |   |
[Mon Dec 23 02:21:51 2024] all-week                                 |        | 00:00:00 | 23:59:59 | Y | Y | Y | Y | Y | Y | Y |
[Mon Dec 23 02:21:51 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+

config analytics add

Creates a new, completely blank entry in the analytics schedule.

config analytics add <schedule row name>

Example output:

[Mon Dec 23 02:10:58 2024] > config analytics add monday-only
[Mon Dec 23 02:10:59 2024] Create Scheduled Analytics row
[Mon Dec 23 02:10:59 2024] OK: New row created
[Mon Dec 23 02:10:59 2024]
[Mon Dec 23 02:10:59 2024] Scheduled Capture Status
[Mon Dec 23 02:10:59 2024]
[Mon Dec 23 02:10:59 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:10:59 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:10:59 2024] monday-only                              |        | 00:00:00 | 23:59:59 |   |   |   |   |   |   |   |
[Mon Dec 23 02:10:59 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+

config analytics del

Deletes an entry from the analytics schedule by name.

config analytics del <schedule row name>

Example output:

[Mon Dec 23 02:22:13 2024] > config analytics del monday-only
[Mon Dec 23 02:22:13 2024] Delete Scheduled Analytics row [RowName=monday-only]
[Mon Dec 23 02:22:13 2024] OK: [Mon Dec 23 02:22:13 2024] successfully deleted row 1
[Mon Dec 23 02:22:13 2024]
[Mon Dec 23 02:22:13 2024] Scheduled Capture Status
[Mon Dec 23 02:22:13 2024]
[Mon Dec 23 02:22:13 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:22:13 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:22:13 2024] all-week                                 |        | 00:00:00 | 23:59:59 | Y | Y | Y | Y | Y | Y | Y |
[Mon Dec 23 02:22:13 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+

config analytics schedule mod

Lets the user configure the following details of a scheduled analytics script:

  • whether it runs on any given day of the week or not

  • whether it runs 24 hours a day, 7 days a week

  • the start and stop time

  • what script is run on a specified schedule

config analytics schedule mod <schedule row name>

Example output:

[Mon Dec 23 02:12:57 2024] > config analytics schedule mod monday-only mon true
[Mon Dec 23 02:12:57 2024] Configure Scheduled Capture [monday-only] : Mon = true
[Mon Dec 23 02:12:57 2024] OK: [Mon Dec 23 02:12:57 2024] scheduler(monday-only) updated day of week (Mon) enables (true)
[Mon Dec 23 02:12:57 2024]
[Mon Dec 23 02:12:57 2024] Scheduled Capture Status
[Mon Dec 23 02:12:57 2024]
[Mon Dec 23 02:12:57 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:12:57 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:12:57 2024] monday-only                              |        | 00:00:00 | 23:59:59 | Y |   |   |   |   |   |   |
[Mon Dec 23 02:12:57 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+

config analytics 247-enable

Set a scheduled analytics script to run 24 hours a day, 7 days a week.

config analytics 247-enable <schedule row name>

Example output:

[Mon Dec 23 02:17:48 2024] > config analytics 247-enable all-week
all-week
[Mon Dec 23 02:17:48 2024]
[Mon Dec 23 02:17:48 2024] Scheduled Capture Status
[Mon Dec 23 02:17:48 2024]
[Mon Dec 23 02:17:48 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:17:48 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:17:48 2024] monday-only                              |        | 00:00:00 | 23:59:59 | Y |   |   |   |   |   |   |
[Mon Dec 23 02:17:48 2024] all-week                                 |        | 00:00:00 | 23:59:59 | Y | Y | Y | Y | Y | Y | Y |
[Mon Dec 23 02:17:48 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+

config analytics 247-disable

Disables all days of the week for a scheduled analytics script.

config analytics 247-disable <schedule row name>

Example output:

[Mon Dec 23 02:18:02 2024] > config analytics 247-disable all-week
all-week
[Mon Dec 23 02:18:04 2024]
[Mon Dec 23 02:18:04 2024] Scheduled Capture Status
[Mon Dec 23 02:18:04 2024]
[Mon Dec 23 02:18:04 2024]                                          |        |  Start   |   Stop   |Mon|Tue|Wed|Thu|Fri|Sat|Sun|
[Mon Dec 23 02:18:04 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+
[Mon Dec 23 02:18:04 2024] monday-only                              |        | 00:00:00 | 23:59:59 | Y |   |   |   |   |   |   |
[Mon Dec 23 02:18:04 2024] all-week                                 |        | 00:00:00 | 23:59:59 |   |   |   |   |   |   |   |
[Mon Dec 23 02:18:04 2024] -----------------------------------------+--------+----------+----------+---+---+---+----+--+---+---+