Cron Job run bash script

linkaiyi
Follow

configure PATH and Shell for cron job to run

#Borrowed from anacron
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#End borrowed from anacron

* * * * *   /bin/bash /home/username/bin/test.sh
Object has 0 attachments

Was this article helpful?

This article is viewed 44 times!

Related Articles

0 Comments

Leave a Comment

Support