Skip to main content

Manage Time and Tasks

Ol Lab Tutorial Ol-Admin
Table of Contents

Links

🌙 Lab

🗒️ Tutorial

Details

Oracle Linux provides users with several ways to interact with the time and date. While you can change these manually, it is more common to configure a service that implements the Network Time Protocol (NTP), such as chrony. This way, your system time remains correct, and any tasks using cron or systemd timers run on schedule.

Objectives

In this tutorial, you’ll learn to:

  • Manage your system time from the terminal using date, hwclock, and timedatectl
  • Run and enable the chrony service
  • Schedule tasks with cron and systemd timers

Prerequisites

  • Minimum of a single Oracle Linux system

  • Each system should have Oracle Linux installed and configured with:

    • A non-root user account with sudo access
    • Access to the Internet