Linux Administration Bootcamp: Go from Beginner to Advanced - Scheduling Repeated Jobs with Cron

Linux Administration Bootcamp: Go from Beginner to Advanced - Scheduling Repeated Jobs with Cron

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the Cron service, a time-based job scheduling system used for automating tasks. It covers the Cron tab command, which configures when commands are executed. The tutorial details the time specification fields and how to use them, including examples of scheduling tasks. It also discusses advanced scheduling techniques, such as using multiple values and ranges, and introduces shortcuts and keywords for Cron tabs. Finally, it explains how to manipulate Cron jobs using Crontab commands, including listing, editing, and removing jobs.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the Cron service?

To provide network security

To monitor system performance

To schedule and run jobs at specified times

To manage user accounts

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following fields is NOT part of the Crontab time specification?

Minutes

Seconds

Day of the month

Month

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you schedule a Cron job to run every 15 minutes?

Use 0, 15, 30, 45 in the minutes field

Use 0-15 in the minutes field

Use 15/0 in the minutes field

Use 15* in the minutes field

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens to the output of a Cron job by default?

It is discarded

It is mailed to the user

It is displayed on the screen

It is saved to a log file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which shortcut can be used to schedule a job to run once a year?

Monthly

Yearly

Daily

Weekly

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to edit existing Cron jobs?

crontab -l

crontab -d

crontab -e

crontab -r

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you disable a specific Cron job without deleting it?

Use the crontab -d command

Use the crontab -r command

Remove the job from the Crontab file

Comment out the job in the Crontab file