From the course: SUSE Linux Enterprise Server Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Scheduling processes

Scheduling processes - Linux Tutorial

From the course: SUSE Linux Enterprise Server Essential Training

Start my 1-month free trial

Scheduling processes

- [Instructor] When I talked about the shell environment I said that sometimes it's good for automation compared to the GUI. The way to do that in SUSE Linux Enterprise Server is by using the cron daemon. If we run sudo system control status cron we'll see that the daemon is loaded and running and what we now need to do is enter the configuration in order to execute files. Those are kept in the etc directory so let's change there. And let me do a listing in grep for cron and we'll get the cron directories. These are the directories that hold the crontabs so let's take a look at what's in cron daily. And there are several scripts on there that are run on a daily basis to do automated tasks like rotate logs and check on raids, do backups things like that, that you want to fire off every day or if you put them in cron dot hourly it'll fire off hourly. Or monthly. There's also a way to add your own tasks to the cron and that is by running crontab with an E for edit. And it's gonna bring…

Contents