it worked!RaTTuS wrote: ↑Thu Dec 12, 2019 1:01 pmdo amake sure you have the correct path to bash and pythonfrom the command lineCode: Select all
which python3
..possibly /usr/bin/python3
Code: Select all
sudo nano /etc/rc.local.
Code: Select all
cd /home/pi/Desktop
sudo bash myfile
sudo python3 myfile.py
deepo wrote: ↑Thu Nov 21, 2019 2:47 pm
i did thisand i getCode: Select all
wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8but this does not update the time automatic when i start the raspberry piCode: Select all
21 Nov 2019 15:15:27