Recall & Review
beginner
What command do you use to edit your personal crontab file?
Use
crontab -e to open and edit your personal crontab file where you can schedule tasks.Click to reveal answer
beginner
What happens if you run
crontab -e for the first time?The system opens the default text editor (like nano or vim) to create a new crontab file if none exists.
Click to reveal answer
beginner
How do you save and exit the editor when editing crontab with nano?
Press
Ctrl + O to save, then Enter to confirm, and Ctrl + X to exit nano.Click to reveal answer
intermediate
What is the format of a crontab entry?
A crontab entry has 5 time fields (minute, hour, day of month, month, day of week) followed by the command to run.
Click to reveal answer
intermediate
Why should you be careful when editing crontab?
Because syntax errors can prevent scheduled tasks from running, and commands run automatically without prompts.
Click to reveal answer
What does the command
crontab -e do?✗ Incorrect
crontab -e opens your personal crontab file in an editor so you can add or change scheduled tasks.
Which editor is commonly used by default when you run
crontab -e on many Linux systems?✗ Incorrect
Many Linux systems use nano as the default editor for crontab because it is simple and user-friendly.
What is the correct order of time fields in a crontab entry?
✗ Incorrect
The crontab time fields are always: minute, hour, day of month, month, day of week.
If you want a task to run every day at 3:30 AM, what would the first two fields in crontab be?
✗ Incorrect
The first field is minutes (30), the second is hour (3) for 3:30 AM.
What should you do after editing and saving your crontab file?
✗ Incorrect
Once you save and exit the editor, the system automatically applies the new crontab settings.
Explain how to edit your crontab file and schedule a simple task.
Think about the steps from opening to saving your scheduled task.
You got /5 concepts.
Describe the format of a crontab entry and what each time field means.
Remember the order and what each number controls.
You got /6 concepts.