Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.
Multi platform
Device management   (+ MDM) Orchestration   (+ monitoring) Software management   (+ CVEs) Integrations

Docs
Stories
News Ask around Meetups Share your story COMPANY
The handbook Testimonials

Pricing Schedule a demo
Multi platform
Device management + MDM Orchestration + monitoring Software management + CVEs, usage, app library Integrations
Docs
Stories
News Ask around Meetups Schedule a demo Share your story COMPANY The handbook Testimonials
Pricing Try it yourself

Tables

Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.

macOS Apple

Linux Linux

Windows Windows

Chrome ChromeOS

{{table.title}} evented table

scheduled_tasks

click to open the table of contents
Windows logo

scheduled​_tasks

The Windows Task Scheduler tracks and performs automated tasks on a Windows device. The scheduled_tasks table collects the data from the Windows Task Scheduler.

Column Type Description
action text Actions executed by the scheduled task
enabled integer Whether or not the scheduled task is enabled
hidden integer Whether or not the task is visible in the UI
last_run_code text Exit status code of the last task run
last_run_message text Exit status message of the last task run
last_run_time bigint Timestamp the task last ran
name text Name of the scheduled task
next_run_time bigint Timestamp the task is scheduled to run next
path text Path to the executable to be run
state text State of the scheduled task

Example

This query collects all tasks that are enabled but have not run:

SELECT * FROM scheduled_tasks WHERE enabled='1' AND last_run_message='The task has not yet run.';

Notes

Many automated tasks are added to the Task Scheduler by Windows itself, however, administrators can also customize the Task Scheduler. Scheduled tasks are analogous to Launch Daemons and Launch Agents used on Linux or macOS. Because automation is a potential vector for malicious activity, monitoring the Windows Task Scheduler may be critical in an enterprise environment.

Windows Task Scheduler

Edit page

Questions?

Ask us anything
{{table.title}} evented table
Fleet logo
Multi platform Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About News Jobs Logos/artwork Why open source?
ISO 27001 coming soon a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2025 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo
Tried Fleet yet?

Get started with Fleet

Start
continue
×