I am trying to run a script as soon as my system starts. I am running ubuntu server version on an odroid M1. The script itself works when I use the command: ./StartJupyterNotebook.sh
.
However as soon as I try to call the script via crontab during a reboot nothing happens.
I modified the crontab with: crontab -e and to this I added the following code:
@reboot /home/odroid/Scripts/StartJupyterNotebook.sh
.
Could someone please help me?
Thanks in advance
bash -x
and a log file – Gilles Quénot Dec 04 '22 at 18:57sudo crontab -e
… This might help: https://askubuntu.com/a/1415391 – Raffa Dec 05 '22 at 13:52