Linux kill process
Howlinuxautomaticallykillaprocessbaseontheprocessname:
Actuallytheeasiestwaytodothatwouldbetopasskillargumentslikebelow:
ps-ef|grepyour_process_name|grep-vgrep|awk'{print$2}'|xargskill
http://stackoverflow.com/questions/13910087/shell-script-to-capture-process-id-and-kill-it-if-exist
http://askubuntu.com/questions/239923/shell-script-to-9-kill-based-on-name
Howtocreateabashunderliux:
http://linuxcommand.org/wss0010.php
killandstart
linuxschedule:
http://www.howtogeek.com/101288/how-to-schedule-tasks-on-linux-an-introduction-to-crontab-files/
https://vexxhost.com/resources/tutorials/how-to-use-cron-jobs-for-automation-on-ubuntu-14-04/