Mission 89

Scheduled tasks

Inspect simulated cron configuration and related logs.

Server operations
7 minutes Admin Lesson 89 of 360
catgrepsystemctl
Lesson 89 of 360 0/360 lessons 0/17 missions Server operations · 7 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 7 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Read crontab

Run cat /etc/crontab.

cat /etc/crontab
Search cron logs

Run grep cron /var/log/syslog.

grep cron /var/log/syslog
Check cron service

Run systemctl status cron.

systemctl status cron
Lesson support

What to notice while you play.

Objective

Read cron config and service status.

Hint

Cat /etc/crontab and check cron status.

Why it matters

Timers and cron jobs are common sources of surprise changes.

Common mistakes
  • Forgetting scheduled jobs exist.
  • Only checking interactive commands.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

grep [-i] <text> <file>

Find literal text inside a file.

systemctl status <service>

Inspect simulated service status.