Friday, December 9, 2016

cron Daemon II: Scheduling Processes

cron Daemon II: Scheduling Processes 


Scheduling Processes 

How cron Works 

The cron daemon is a service that runs continuously in the background on your system and 
checks a special file called a 

crontab 

file once every minute to see if there’s a scheduled job it should run. If your distribution uses init,
then the cron daemon is managed using the cron init script in your init directory.

If your distribution uses systemd, you use the

systemctl 

command to manage the cron daemon.


By default, the cron daemon is configured to run automatically every time the system boots
on most Linux distributions. If not, you’ll need to start it manually using the cron init script in
your system’s init directory.



You can configure cron to run system jobs or user-specific jobs







LX0-104 Exam Objectives (L)

No comments:

Post a Comment