Recall & Review
beginner
What is the main purpose of cron in Linux?
Cron is a tool that automatically runs tasks at scheduled times or intervals without manual intervention.
Click to reveal answer
beginner
How does cron help with recurring tasks?
Cron runs commands or scripts repeatedly at fixed times, like every day or every hour, so you don't have to remember to run them yourself.
Click to reveal answer
beginner
What file does cron use to schedule tasks?
Cron uses a file called a crontab where you list commands and the times they should run.
Click to reveal answer
beginner
Why is automating recurring tasks with cron useful in real life?
It saves time and avoids mistakes by running important jobs like backups or updates automatically, even when you forget or are away.
Click to reveal answer
beginner
Can cron run tasks when the computer is off?
No, cron only runs tasks when the computer is on and the cron service is running.
Click to reveal answer
What does cron automate?
✗ Incorrect
Cron automates tasks that need to run repeatedly at set times.
Where do you list tasks for cron to run?
✗ Incorrect
The crontab file contains the schedule and commands for cron.
Which of these is a benefit of using cron?
✗ Incorrect
Cron automatically runs tasks, saving time and reducing errors.
If the computer is off, what happens to cron jobs?
✗ Incorrect
Cron jobs only run when the computer and cron service are active.
Which command shows your current cron jobs?
✗ Incorrect
The command 'crontab -l' lists your scheduled cron jobs.
Explain in your own words why cron is useful for automating recurring tasks.
Think about tasks you do often and how cron can help run them without you.
You got /4 concepts.
Describe how you would set up a simple cron job to run a backup script every day at 2 AM.
Remember the crontab time fields and the command to run your script.
You got /4 concepts.