Hi everyone,
I have been trying to run
clusterhat on using crontab and I am failing miserably.
I had it setup and working before I formatted the sd card and I forgot to back it up.
I tried crontab -e and sudo crontab -e with the following command that I found in several places on the web
@reboot sleep 30 && /usr/local/bin/clstrhtn.sh
I also tried:
@reboot sleep 30 && clusterhat on (and "clusterhat on")
I have tested clstrhtn.sh and it works but it doesn't work in crontab.
clstrhtn.sh looks like this:
#!/bin/bash
clusterhat on
I also tried putting the sleep 30 inside the bash script but that didn't work either.
How do I do this please?