1 00:00:00,090 --> 00:00:01,290 Hello, you beautiful person. 2 00:00:01,290 --> 00:00:07,020 And welcome to this very exciting section of the course all about automating tasks, using batch scripts 3 00:00:07,020 --> 00:00:07,980 and cron. 4 00:00:07,980 --> 00:00:12,810 Now, up until now you've been learning how to do commands one after the other on the command line. 5 00:00:12,810 --> 00:00:17,250 But sometimes, however you want to complete tasks that require multiple steps. 6 00:00:17,250 --> 00:00:22,200 So instead of just memorizing the steps and entering those steps, those command steps, every single 7 00:00:22,200 --> 00:00:26,700 time you need to complete that task, you can instead write those commands into a text file known as 8 00:00:26,700 --> 00:00:29,040 a batch script, and then just run the script. 9 00:00:29,490 --> 00:00:35,400 And when you run the script, each of the commands in the script will be run one after the other from 10 00:00:35,400 --> 00:00:36,000 top to the bottom. 11 00:00:36,000 --> 00:00:40,620 So the shell will start at the top of the script and work its way down through the script, executing 12 00:00:40,620 --> 00:00:42,750 all of the commands on the way. 13 00:00:42,840 --> 00:00:43,200 All right. 14 00:00:43,200 --> 00:00:48,630 So in this section of the course, you're going to learn how to create and run your very own batch scripts, 15 00:00:48,630 --> 00:00:53,640 but you're also going to see how you can schedule those commands and batch scripts to be run at certain 16 00:00:53,640 --> 00:00:57,810 times using a really handy scheduling program called Cron. 17 00:00:57,810 --> 00:01:02,730 Now, batch scripting is a whole massive field in and of itself, so this won't be an overly detailed 18 00:01:02,730 --> 00:01:03,480 section of the course. 19 00:01:03,480 --> 00:01:07,920 But I hope that by the end of the session you'll have the fundamental concepts and understanding of 20 00:01:07,920 --> 00:01:11,820 what batch scripting is all about so that you can start writing your own simple scripts. 21 00:01:11,820 --> 00:01:17,550 You'll also know how to schedule and automate commands and scripts to run at any time you choose by 22 00:01:17,550 --> 00:01:18,510 using cron. 23 00:01:18,510 --> 00:01:23,520 So again, combining these two skills will allow you to truly set your workflow on autopilot. 24 00:01:23,520 --> 00:01:27,690 So now that you've got a quick heads up about what's going to be covered in this section, let's jump 25 00:01:27,690 --> 00:01:31,950 right in in the next video by learning how to write your very own batch scripts.