crontabを捨てsystemdに定期実行を任せよう。 - Qiita
Linux環境で定期的に実行させたい処理はcronで処理するのが一般的かと思います。30分毎に exec.sh を実行する。$ crontab -e0,30 * * * * /bin/sh ~…