I put command @reboot /home/user/script.sh
in sudo crontab -e
but it won't run, @reboot sleep 60 && sh /home/user/script.sh
won't run either. already chmod 777
and -x
it. im using hiveos(based on ubuntu 16.04) is there any other way to autorun script at reboot? I'm not sure what desktop environment is being used but it's not gnome so the usual .desktop at /.config/autostart
cant be used. adding a line to /etc/rc.local
also doesnt work. please help me out
Asked
Active
Viewed 269 times
0
#!/bin/bash cd /home/user/chia-blockchain . ./activate chia start all && chia stop timelord-only sleep 666 && /home/user/TTDPoolClientLinux
– dawnslayer Oct 24 '21 at 05:40