added abbility to define a function that is called when job finished successfully
Merge branch 'master' of github.com:Fette3lke/jobmonitor