A program to various information of scheduled tasks.
Project description
Scheduled Task Reader
A program to various information of scheduled tasks.
Installation
Clone this git repository, then run the following commands:
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
or just
pip3 install scheduled-tasks-reader
Help page
usage: Scheduled Tasks Reader [-h] [-o OUTPUT] [-of]
[-n TASK_NAMES [TASK_NAMES ...]]
[-p TASK_PATHS [TASK_PATHS ...]] [-s [...]]
[-t [...]] [--only_hidden] [--raw_data]
[--version]
dir_of_registry_files
Get Overview of Scheduled Tasks from the relevant registry files.
positional arguments:
dir_of_registry_files
Path to the directory containing the relevant registry
files
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Store output at specified location. It will overwrite
existing files!
-of , --output_format
Define output format. Default value is: html.Allowed
values are: ['html', 'json', 'csv']
-n TASK_NAMES [TASK_NAMES ...], --task_names TASK_NAMES [TASK_NAMES ...]
Filter for array of one or more names of scheduled
task (separated by space).
-p TASK_PATHS [TASK_PATHS ...], --task_paths TASK_PATHS [TASK_PATHS ...]
Filter for array of one or more paths of scheduled
task (separated by space).
-s [ ...], --sort_by [ ...]
Sort by array of one or more attributes of scheduled
task (separated by space). Default values are:
['task_path', 'task_name'].Allowed values are:
['task_path', 'task_name', 'enabled', 'hidden',
'triggers', 'exec_command', 'exec_args',
'schedule_time']
-t [ ...], --task_triggers [ ...]
Filter for array of one or more trigger types of
scheduled task (separated by space). Allowed values
are: ['EventTrigger', 'TimeTrigger', 'LogonTrigger',
'BootTrigger', 'CalendarTrigger',
'SessionStateChangeTrigger', 'RegistrationTrigger']
--table_terminal_output
Show the output as a table, needs a wide Terminal.
--only_hidden Show only the hidden scheduled tasks
--raw_data Append the raw data from the scheduled tasks parsed
from the xmls to the normal output.
--version show program's version number and exit
Example output
task_path Microsoft/Windows/Registry
task_name RegIdleBackup
enabled True
hidden True
triggers [CalendarTrigger]
exec_command
exec_args
schedule_time {'schedule': 'ScheduleByDay', 'dayInterval': '10'}
===========================
...
or with the --table_terminal_output it would look like this:
task_path task_name enabled hidden triggers exec_command exec_args schedule_time
. AviraSystemSpeedupUpdate True False [CalendarTrigger] "C:\ProgramData\Avira\SystemSpeedup\Update\avira_speedup_setup_update.exe" /VERIFY /VERYSILENT /NOSTART /NODOTNET /NORESTART {'schedule': 'ScheduleByWeek', 'daysOfWeek': ['Tuesday'], 'weeksInterval': '1'}
. Avira_Antivirus_Systray True False [ LogonTrigger] "C:\Program Files (x86)\Avira\Antivirus\avgnt.exe" /min N/A
...
Built With
- python3 - Python :heart:
- argparse - Parser for command-line options, arguments and sub-commands
- xmltodict - To parse xml files
- pandas - Powerful Python data analysis toolkit
Contributing
Contributing in form of feedback, bug reporting or pull requests is welcome.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Google :heart:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file scheduled_tasks_reader-0.1.1.tar.gz
.
File metadata
- Download URL: scheduled_tasks_reader-0.1.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f4b6eb79f40b7130390fb3268b3baa95ea6f7d70a5f7bfbb4d881e825395667 |
|
MD5 | 4887f89f1d9c9066238dc7e78dbf84a8 |
|
BLAKE2b-256 | 08b53ae1d98c75c5e583cbf9824b6be659ff30028ee7e2bc82a1dadab96cac74 |