Skip to main content

MODULE 8 - Services and Daemons

Overview​

This module teaches you how to manage system services and daemons. You will explore systemd in depth, create custom services, and handle advanced scheduled tasks with cron and systemd timers.

Learning Objectives​

By the end of this module, you will be able to:

  • Administer services with systemd
  • Create custom services
  • Master advanced cron: crontab, /etc/cron.d, anacron
  • Use systemd timers vs cron
  • Manage logs with journalctl
  • Understand alternatives: at, batch

Estimated Duration​

Theory: 4-5 hours
Practice: 4-5 hours
Total: 8-10 hours


Key Concepts​

systemd Services​

  • Unit files (.service)
  • Management with systemctl
  • Dependencies and startup order

Advanced Scheduled Tasks​

  • System vs user cron
  • /etc/crontab and /etc/cron.d
  • Anacron for intermittent systems
  • systemd timers (modern alternative)
  • Cron log management

Module created on: December 2024