osquery-1/specs/crontab.table
Teddy Reed c2be670806 Table results caching
1. Table implementations (spec files) can mark the table as 'cachable'.
2. Cached results depend on the shortest/quickest interval of scheduled
queries that act on results of the table.
3. The table API generator blocks caching on index/additional/required
table column options.
2015-11-14 15:57:23 -08:00

15 lines
634 B
Plaintext

table_name("crontab")
description("Line parsed values from system and user cron/tab.")
schema([
Column("event", TEXT, "The job @event name (rare)"),
Column("minute", TEXT, "The exact minute for the job"),
Column("hour", TEXT, "The hour of the day for the job"),
Column("day_of_month", TEXT, "The day of the month for the job"),
Column("month", TEXT, "The month of the year for the job"),
Column("day_of_week", TEXT, "The day of the week for the job"),
Column("command", TEXT, "Raw command string"),
Column("path", TEXT, "File parsed"),
])
attributes(cachable=True)
implementation("crontab@genCronTab")