Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use Yo to receive a push notification when a process finishes

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages