The code is run from a command line as
python w1probes.py
Though now it is run from cron as
@reboot sudo /usr/bin/python /home/pi/w1/w1probes.py > /home/pi/w1/testlogw1probes.log>&1
The reason I have both .csv and xlsx is if I copy the xlsx file from my pi to my computer if I copy it at the wrong time, i.e. when it is being written to, it corrupts the file but for some reason the .csv file isn't corrupted
python w1probes.py
Though now it is run from cron as
@reboot sudo /usr/bin/python /home/pi/w1/w1probes.py > /home/pi/w1/testlogw1probes.log>&1
The reason I have both .csv and xlsx is if I copy the xlsx file from my pi to my computer if I copy it at the wrong time, i.e. when it is being written to, it corrupts the file but for some reason the .csv file isn't corrupted
Statistics: Posted by sandy70 — Sun Mar 23, 2025 5:40 pm