menu_book Course Curriculum (Raspberry Pi) expand_more
Linux & Setup
GPIO Digital I/O
Sensors & Buses
Automation
Networking & Services
cron scheduled task
Learn cron scheduled task in Raspberry Pi with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Intermediate
raspberry-pi-025.sh
bash
crontab -e
# run every 5 minutes
*/5 * * * * /usr/bin/python3 /home/pi/read_sensor.py >> /home/pi/sensor.log 2>&1
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content