Update jcmp.sh

Modified script to support starting stopping and restarting via cron.