How to schedule tasks with systemd timers in Linux

The traditional way to schedule tasks on Linux, is to use the cron daemon, specifying time intervals and commands to be executed in crontabs. Systemd, the relatively new init system now adopted by all the major Linux distributions, among the other things, provides the ability to schedule tasks using dedicated units, called timers. In this article we will learn how they are structured and some examples of their usage.