1
00:00:06,610 --> 00:00:09,679
In this lesson we are
going to explore Linux task scheduling.

2
00:00:10,449 --> 00:00:11,349
So what
are the options?

3
00:00:12,230 --> 00:00:17,109
First option is Cron. That's a classical
solution. It allows you to schedule recurring tasks.

4
00:00:18,089 --> 00:00:24,820
It has been around forever and it uses a Chrome
daemon and you can use crontab e to edit the tasks.

5
00:00:25,539 --> 00:00:29,960
Then there is add is for tests
that you need to run once only.

6
00:00:31,339 --> 00:00:36,609
That's a fun little solution. It's not used that
much but it might be convenient if you want to

7
00:00:36,609 --> 00:00:41,880
use it. Make sure that the D daemon is
started and use on the command line to schedule tasks.

8
00:00:43,140 --> 00:00:46,060
Then there is a newer
solution which is the systemd timer.

9
00:00:46,670 --> 00:00:51,195
So systemd timers are the new
alternative to CRON and on some distributions

10
00:00:51,195 --> 00:00:55,719
like Red Hat you will see
that timers are used instead of Cron.

11
00:00:57,130 --> 00:01:02,004
They create a timer unit and
these timer units are used using systemctl.

12
00:01:02,004 --> 00:01:06,879
In the next couple of videos
we will explore how it works.
