Grid_notify is a wrapper around the standard qsub
script or your custom grid submission script. It will wait in the background until your job has completed, then send a push notification to your smartphone.
Use: Instead of running qsub your_command
, you run grid_notify.py "qsub your_command"
. If you have a custom submission script, run grid_notify.py your-custom-script.sh
. The only requirement is that your custom script returns the standard qsub
output: "your job [...] has been submitted".
Requirements:
- Python 2.7 (for
argparse
). - pushnotify >= 0.5.
A grid_notify.conf
file must exist in the same directory as the script itself. Copy grid_notify.conf.example
to grid_notify.conf
and fill in your settings:
[general] title
: Customize this to change the title used for push notifications.[api] type
: Eithergrowl
,nma
, orpushover
(see pushnotify documentation for details).[api] key
: A valid API key for your chosen API.
Author: Stefan Pfenninger
The code is released into the public domain as CC0 and comes with no express or implied warranty.