sudo crontab -e python

NORD

Well-Known Member
Joined
Jan 4, 2019
Messages
443
Reaction score
327
Credits
2,386
Anyone savy with python and cron?
trying to get my LCD screan to work at boot up. using raspbain pi . I jusr can't seem to wrsp my head around it.
home/pi/stats.py
 


i don't know much about cron but thought that was to schedule tasks once the system was up and running

IN slackware (which didn't use systemd) for evoking stuff at boot up you could put scripts at /etc/rc.d/rc.local

haven't a clue how to do that with systemd

with python either the script is going to be needed to be evoked with something like : sudo python yourPythonScript.py or you compile an executable elf , which is what 've done for a Arch AUR program(installed to /usr/bin) even then it needs to be evoked from command line : sudo nameOfElf
 


Latest posts

Top