Skip to main content

Parser for Windows Scheduled Task files

Project description

Parser for Windows Scheduled Task files. This module will attempt to determine if the job file is in binary or xml format and then create an object that contains attributes for all of the fields. Calling that object’s parse method will cause it to return a dictionary of those fields. When used from the command line it will output that dictionary as a JSON object.

Build Status

https://img.shields.io/pypi/dm/winjob.svg https://img.shields.io/pypi/v/winjob.svg https://img.shields.io/badge/python-2.7-blue.svg https://img.shields.io/pypi/l/winjob.svg

Installation

$ pip install winjob
$ python setup.py install

Usage

As a module:

>>> import winjob
>>> fd = open('taskfile.job', 'r')
>>> task = winjob.winjob.read_task(fd.read())
>>> print task.parse()

On the command line:

$ winjob.py taskfile.job

More Information

  • Free software: BSD license, see LICENSE.txt for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for winjob, version 0.0.12
Filename, size File type Python version Upload date Hashes
Filename, size winjob-0.0.12.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page