Skip to content

A small Python program that creates indicators for jobs running on a remote machine.

License

Notifications You must be signed in to change notification settings

hirschsn/batch-job-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Job Indicator

Places icons for jobs on foreign batch systems (read: HPC systems) in your notification area and notifies you about state changes with libnotify.

screenshot

(The notification in this screenshot is handled by the dunst notification-daemon.)

Installation

I currently don't feel like writing some fancy setup.py-thingy. Thus, clone the repo and do:

$ env PYTHONPATH=".:$PYTHONPATH" ./bji.py ARGS...

Prereqs

  • Python 2 or 3
  • python-gi (Notify, GObject, Gtk, AppIndicator3)

Usage

$ ./bji.py --help

usage: bji.py [-h] [--user USER] [-n SEC] MACHINE

Watch batch jobs on foreign machines and display a tray icons.

positional arguments:
  MACHINE      Machine to watch

optional arguments:
  -h, --help   show this help message and exit
  --user USER  Username on the foreign machine
  -n SEC       Number of seconds between two checks

Note: The program closes SEC (-n parameter) after the last notification has been closed (right click on icon -> Close).

Contributing

All types of contributions are very welcome. Feel especially free to open PRs for other machines.

License

For the code see LICENSE for details. The icons are public domain.

About

A small Python program that creates indicators for jobs running on a remote machine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages