Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
/ winjob Public archive

Parser for Windows Scheduled Task files.

License

Notifications You must be signed in to change notification settings

yahoo/winjob

Repository files navigation

winjob

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

image

image

image

image

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