I wrote a python script and added it to the list of startup applications in Ubuntu. After restarting the device I can find that the script has not run and I don't know where to find the logs. What is the default location in which the logs will be stored?
I searched around similar questions such as this.I don't think this will apply for me as I am using a different method than the one mentioned in the question.
EDIT : I did not add my script in rc.local or as a cron job. In ubuntu dash if you type startup you will get a window asking you to add commands that you want to execute on startup. I added my script in that window.
/etc/rc.local
or/etc/ini.d/script_name
? – M. Dm. Jan 2 '18 at 12:12python3 ...\main.py
to the list and if the program ran it is supposed to show a notification but I didn't get any. You can see my code here.github.com/RajNirmal/Python_Remainder/blob/master/main.py. I added a couple ofprint()
lines in there but haven't updated the repo yet. The output of theprint()
function should be stored somewhere right? – Nirmal Raj Jan 3 '18 at 9:40