Skip to content
Use Yo to receive a push notification when a process finishes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
yo_pid.sh

README.md

Yo Process Is Done (yo_pid)

##Send yourself a YO when your work is done##

Inspired by Yoman from Andrew Duberstein: http://www.andrewduberstein.com/item/2014/11/28/yoman/

###Yo API Setup###

  1. Create an account with the Yo App
  2. Obtain an API key from http://dev.justyo.co/
  3. Replace {api key} in the code with your own API key

###Usage###

  • Run a command and send a Yo to {YO_NAME} when it is done

./yo_pid.sh -c '{COMMAND}' -u {YO_NAME}

  • Monitor an already running PID and send a Yo to {YO_NAME} when CPU time, memory percent, and processor in use stop changing. This is useful if you want to know when a process stops doing work, even if the PID is still alive

./yo_pid.sh -p {PID} -u {YO_NAME}

###Author### http://dataneel.com

You can’t perform that action at this time.