I try to start gulp by running /home/m/gulp
at the start up Kubuntu 20.04 LTS (from Ubuntu).
It was not possible to run gulp with just one line Console/Terminal:
/home/m/gulp
bash: ./gulp: No such file or directory
That's probably normal.
so i tried successful:
cd /home/m
gulp
Therefore i stored this inside /home/m/gulp.sh
SH-Script.
It works as expected if I start it manually by typing /home/m/gulp.sh
into the terminal.
I got no results after reboots by these tries:
System Settings > Autostart > Add Script:
/home/m/gulp.sh
sudo crontab -e
crontab -e @reboot `/home/m/gulp.sh`
I changed the SH-Script, added sudo , and it works now also automatically after reboot:
cd /home/m
sudo gulp
That works for me. BTW It not ask me for Password (configure sudo). But I find it a bit strange that I sometimes need a sudo in the sh script and sometimes not. If I start it via crontab it needs a sudo, if I start it myself (manually) I don't need a sudo.