Go to advanced search

by wjumaat
Wed Feb 27, 2019 1:53 am
Forum: Beginners
Topic: CRON not executing SH file
Replies: 8
Views: 458

Re: CRON not executing SH file

Hi All,
Sorry for the late reply.

I managed to resolve the problem. Perhaps, I guess the issue was that i did not make the sh file executable with the chmod +x command.

Thank you.
by wjumaat
Fri Feb 01, 2019 8:07 am
Forum: Beginners
Topic: CRON not executing SH file
Replies: 8
Views: 458

CRON not executing SH file

Dear All, My objective is to restart the PI daily at a fixed time. I wrote a script using nano. nano home/pi/reboot.sh Then on crontab, I inserted the command 57 15 * * * chmod +x /home/pi/reboot.sh Till now, I am still unable to execute the command automatically. Your advise is much appreciated.

Go to advanced search