Need help with python script when the raspberry reboots

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Need help with python script when the raspberry reboots

Post by /RaspberryPi »

My script doesn't start after reboot here is the log and the command.
command:
@reboot python /home/emi/LoveBox.py
crontab log:
emi@raspberrypi:~ $ grep cron /var/log/syslog
Apr 4 13:45:05 raspberrypi cron[359]: (CRON) INFO (pidfile fd = 3)
Apr 4 13:45:05 raspberrypi cron[359]: (CRON) INFO (Running u/reboot jobs)
Aug 29 11:23:34 raspberrypi systemd[1]: cron.service: Succeeded.
Aug 29 12:23:49 raspberrypi cron[419]: (CRON) INFO (pidfile fd = 3)
Aug 29 12:23:49 raspberrypi cron[419]: (CRON) INFO (Running u/reboot jobs)
Aug 29 12:56:49 raspberrypi crontab[1991]: (emi) BEGIN EDIT (emi)
Aug 29 12:57:08 raspberrypi crontab[1991]: (emi) END EDIT (emi)
Aug 29 12:57:30 raspberrypi crontab[2024]: (emi) BEGIN EDIT (emi)
Aug 29 12:58:09 raspberrypi crontab[2024]: (emi) REPLACE (emi)
Aug 29 12:58:09 raspberrypi crontab[2024]: (emi) END EDIT (emi)
Aug 29 12:58:22 raspberrypi systemd[1]: cron.service: Succeeded.
Aug 29 12:58:22 raspberrypi cron[2040]: (CRON) INFO (pidfile fd = 3)
Aug 29 12:58:22 raspberrypi cron[2040]: (CRON) INFO (Skipping u/reboot jobs -- not system startup)
Aug 29 13:01:53 raspberrypi cron[356]: (CRON) INFO (pidfile fd = 3)
Aug 29 13:01:53 raspberrypi cron[356]: (CRON) INFO (Running u/reboot jobs)
Aug 29 13:17:02 raspberrypi CRON[1348]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 29 14:17:01 raspberrypi CRON[13375]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 29 15:17:01 raspberrypi CRON[13517]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 29 16:17:02 raspberrypi CRON[13757]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 29 17:17:01 raspberrypi CRON[13937]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 29 18:05:23 raspberrypi cron[359]: (CRON) INFO (pidfile fd = 3)
Aug 29 18:05:23 raspberrypi cron[359]: (CRON) INFO (Running u/reboot jobs)
grep: /var/log/syslog: binary file matches

submitted by /u/emiljpz
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”