Skip to content

apena23/notify-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

notify-run

Simple utility for running jobs with email notification on completion.

Installation

  1. Download the script into some directory (e.g. $HOME/scripts) and give yourself exec permissions.
  2. Copy the following to your ~/.bashrc and edit the variables in []
# notify-run
export PATH=$PATH:[PATH_TO_SCRIPT_DIRECTORY]
export NR_EMAIL=[YOUR_EMAIL]
# By default, notify-run will use $HOME/notify-run as a base directory for logfiles and job tables.
# Uncomment the following to change that.
# NR_BASEDIR=[BASE_DIR]
  1. In terminal run source ~/.bashrc

Usage

notify-run [options] COMMAND...

Run COMMAND in the background, logging to a logfile generated using the timestamp and a job name.
When done, send an email to the address in $NR_EMAIL.

Options:
    -E       omit email notification
    -f N     show last N jobs finished
    -h       show help text
    -l       show running jobs
    -n name  give your job a name
    -r       read logfile for most recently started job using less
    -s N     show last N jobs started

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages