#!/bin/bash # Kill all the scripts: echo "Killing the script." pkill -9 -f "$(pwd)/cron/message/mail/auto_sync.py" # All done: echo "Done!" exit 0