Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cron instead of editing /etc/profile #19

Open
emtneutrino opened this issue Mar 26, 2022 · 0 comments
Open

Use cron instead of editing /etc/profile #19

emtneutrino opened this issue Mar 26, 2022 · 0 comments

Comments

@emtneutrino
Copy link

I think it's better to use cron to run main.py instead of doing so in /etc/profile. It looks like every time you log in more than once, it tries to run main.py and errors show up.
$sudo crontab -u root -e
@reboot python3 /home/pi/pi-camera-stream-flask/main.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant