Skip to content

a tool to visualize job execution time for Job Arranger

License

Notifications You must be signed in to change notification settings

gtk7032/jobtime

Repository files navigation

jobtime

Overview

jobtime is a tool to visualize job execution time for Job Arranger.

Features

  • job execution times can be viewed at a glance
  • colored by job status (success, failure, in time, overtime)

Requirements

Setup

To use jobtime, follow these steps:

  1. Douwnload:

    git clone https://github.com/gtk7032/jobtime.git
  2. Build the Docker image:

    docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)

    The UID and GID arguments will be assigned to the user used within the container.

  3. Launch the container:

    docker compose up -d

Usage

Example

docker exec -it jobtime python src/main.py --joblog=joblog.csv 
# --> output/joblog.svg

Required argument

Parameter Description
--joblog Path of the job execution log file

Optional arguments

Parameter Default Description
--schedule path of the job schedule file (sample)
--figsize 16:9 width:height
--output joblog.svg output file name

License

MIT

Author

gtk7032