Learning how schedule and manage tasks using the at program
Requirements
- Root permissions to start the atd daemon
- Having the at program installed
Difficulty
EASY
Conventions
- # – requires given linux commands to be executed with root privileges either
directly as a root user or by use ofsudo
command - $ – requires given linux commands to be executed as a regular non-privileged user
Introduction
During the administration of a system, being able to schedule a task for a later execution it’s one crucial ability: to perform a backup of a database for example, or perhaps to run a maintenance script. Less known than cron
or anacron
, the at
program let us do this in a pretty easy way: in this tutorial we will learn how to use it and how it is different from the programs mentioned above.