Bird
0
0

What is the main purpose of using cron on a Raspberry Pi for database tasks?

easy🧠 Conceptual Q11 of 15
Raspberry Pi - Data Logging and Databases
What is the main purpose of using cron on a Raspberry Pi for database tasks?
ATo create database backups only when the Pi is restarted
BTo manually start database queries
CTo store data permanently
DTo automatically run scripts at scheduled times
Step-by-Step Solution
Solution:
  1. Step 1: Understand cron's role

    Cron is a tool that runs commands or scripts automatically at set times without user intervention.
  2. Step 2: Connect cron to database tasks

    Using cron, you can schedule database scripts to run regularly, like collecting data or backups.
  3. Final Answer:

    To automatically run scripts at scheduled times -> Option D
  4. Quick Check:

    Cron automates tasks = A [OK]
Quick Trick: Cron schedules tasks automatically, no manual start needed [OK]
Common Mistakes:
MISTAKES
  • Thinking cron runs scripts only manually
  • Confusing cron with data storage
  • Assuming cron runs only at reboot

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes