Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 15309

Python • Re: How do I get crontab to run a Python program

$
0
0

Code:

picam2.start_preview(Preview.QT, x=200, y=200, width=400, height=300)picam2.start() # this line starts the preview
If you are running from CRON, why do you need to display a preview? Simply capture the file.

Statistics: Posted by DS256 — Fri Oct 17, 2025 12:50 pm



Viewing all articles
Browse latest Browse all 15309

Latest Images

Trending Articles



Latest Images