Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleINVENTORY_SCHEDULES
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
INSTANCE_IDNOT NULLNUMERICForeign Key  

references INVENTORY_INSTANCES.ID

FILE_ID
NOT NULLNUMERICForeign Key Xreferences INVENTORY_FILES.ID
SUBSTITUTE_ID
NOT NULLNUMERICForeign Key references INVENTORY_SCHEDULES.ID
NAME
NOT NULLVARCHAR  schedule file name
BASENAME
NOT NULLVARCHAR  schedule base name
TITLE
 VARCHAR  schedule's title
SUBSTITUTE
 NUMERIC  substitute attribute
SUBSTITUTE_NAME
NOT NULLNUMERIC  full path of the substituted schedule, references INVENTORY_SCHEDULES.NAME
SUBSTITUTE_VALID_FROM
 DATETIME  timestamp "from" when SUBSTITUTE will be valid
SUBSTITUTE_VALID_TO
 DATETIME  timestamp "to" until SUBSTITUTE will be valid
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleAUDIT_LOG
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
SCHEDULER_IDNOT NULLVARCHAR Xcorresponds to the SCHEDULER_ID that is specified during installation of the JobScheduler instance
ACCOUNTNOT NULLVARCHAR  user account the audit was stored for
REQUESTNOT NULLVARCHAR  REST API request the audit was stored for
PARAMETERS LONGTEXT  given parameters from the request
JOB VARCHAR  the job that was started, modified, etc.
JOB_CHAIN VARCHAR  the job chain that was started, modified, etc.
ORDER_ID VARCHAR  the order that was started, modified, etc.
FOLDER VARCHAR  the path of the folder where the job, job chain, etc. resides
COMMENT VARCHAR  a user comment on the action taken
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
TICKET_LINK VARCHAR  the link to a ticket, issue, bugtracker, etc. describing the problem the action was taken for
TIME_SPENT NUMERIC  time spent on the action taken

Fact Tables

  • The following tables are used to collect facts from the JobScheduler history.
  • These tables can be used to create individual reports.
  • SQL Scripts: reporting.sql
    • SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.

...