Linux and Networking

Linux and Networking

3.8 Daemons

Daemons are programs that are responsible for managing and administering the system. There are several and allow the automation of Linux to unsuspected limits.

 

These programs are called like that because they execute (or run) in the background, and once configured, they do not require permission from the user to perform such an operation, with the increased speed that this entails.

 

Some of the best known are the crond or the atd.

Interestingly, files ending in d are usually daemons. Its use is usually fairly well documented.

 

3.8.1 AT

at can be used to run a job at a certain time only once.

 

We can define the commands to execute either by standard input or in a file. The format in one case or another would be:

 

at hour:minute or at -f file hour:minute.

at daemon
at daemon

Exercise:

 

Leave the system programmed to restart (reboot) within 2 minutes.

The Demeter Project