mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
c2be670806
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.
15 lines
634 B
Plaintext
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")
|