scheduled_tasks

Lists all of the tasks in the Windows task scheduler.

Table schema

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

Query examples

select * from scheduled_tasks
select * from scheduled_tasks where hidden=1 and enabled=1