1 00:00:00,390 --> 00:00:03,970 Now it's time to talk about something very important, which is the green jobs. 2 00:00:04,040 --> 00:00:11,100 OK, now for that we will use the acronym TAP Command, know the jobs briefly. 3 00:00:11,130 --> 00:00:14,240 They are just a jobs that run on a specific schedule. 4 00:00:14,250 --> 00:00:21,300 So every one month, every two to one, every one day, every one hour, once in the week and so on. 5 00:00:21,360 --> 00:00:22,320 OK, OK. 6 00:00:22,320 --> 00:00:27,510 Now for that I would use the contact so we have the contact so if I have the manual for it. 7 00:00:28,020 --> 00:00:35,310 So manual like this so you can see maintain contact files for individual users and you can see now we 8 00:00:35,310 --> 00:00:42,870 have the contact, the shell which means that list all the current jobs for this current user, which 9 00:00:42,870 --> 00:00:46,130 is open-top as you can see in your current job for Open-top. 10 00:00:46,320 --> 00:00:51,330 And by the way, if I provide the name of the user, for example, route, it will print for it. 11 00:00:51,840 --> 00:00:52,860 Yeah, sorry about this. 12 00:00:52,860 --> 00:00:54,270 I forgot to put Deshu here. 13 00:00:54,270 --> 00:00:55,500 I mean, you can see it. 14 00:00:55,500 --> 00:01:02,210 You must be a privilege to Deshu so you can see you can't put or use or show the contents. 15 00:01:02,220 --> 00:01:05,940 So if I typed Sudo here you can see that for route as well. 16 00:01:05,940 --> 00:01:06,940 No contact. 17 00:01:06,990 --> 00:01:08,160 OK, good. 18 00:01:08,160 --> 00:01:08,970 So far so good. 19 00:01:09,240 --> 00:01:19,160 No good on tap dashi this time to list Deshu to see and list that current jobs for this specific user. 20 00:01:19,290 --> 00:01:20,280 That's easy to edit. 21 00:01:20,730 --> 00:01:23,160 Edit for the current user which is open to. 22 00:01:23,610 --> 00:01:28,780 If I typed that she spits Deshu this will give you for a specific user. 23 00:01:29,100 --> 00:01:35,620 Now here you can see that we have that sidiq the editor you want, just select whatever you want and 24 00:01:35,790 --> 00:01:38,100 I would use them basically whatever. 25 00:01:38,610 --> 00:01:42,530 And you can see that this is the format for this file. 26 00:01:42,870 --> 00:01:48,800 And again, I'm assuming that you already read the theory, but because everything is there. 27 00:01:48,810 --> 00:01:51,030 So I not handed the format over and over. 28 00:01:51,360 --> 00:01:57,480 And by the way, by the way, there is this website, which is the current top Guro. 29 00:01:57,480 --> 00:01:58,460 Actually, I prefer it. 30 00:01:58,650 --> 00:02:02,190 So here you can see that it has a lot of things, a lot of values. 31 00:02:02,460 --> 00:02:06,530 So how to put your content values. 32 00:02:06,870 --> 00:02:10,200 And by the way, there is examples there, which is something very cool. 33 00:02:10,530 --> 00:02:17,580 So you can see every one minute, every 30 minute, every Friday, every every day at eight a.m., for 34 00:02:17,580 --> 00:02:18,930 example, you can see that. 35 00:02:18,930 --> 00:02:19,740 Here it is. 36 00:02:19,920 --> 00:02:24,430 So for now, I will use every minute in every minute, which means start Starzl. 37 00:02:24,480 --> 00:02:25,240 Everything OK? 38 00:02:25,410 --> 00:02:26,800 So this means that every minute. 39 00:02:26,820 --> 00:02:27,170 All right. 40 00:02:27,570 --> 00:02:32,970 So here I will use this thing and then provide the command. 41 00:02:33,330 --> 00:02:39,810 Sometimes if you don't need that, you can just provide the schedule, then provide the user, then 42 00:02:39,810 --> 00:02:40,620 provide the command. 43 00:02:40,690 --> 00:02:42,060 OK, so it will work. 44 00:02:42,090 --> 00:02:50,700 By the way, if you are writing a code jobs or ACRON, but you can just provide the user you want to 45 00:02:50,700 --> 00:02:51,430 be executed. 46 00:02:51,450 --> 00:02:55,680 OK, but I don't need I will use elsea and I will say OK. 47 00:02:56,660 --> 00:02:59,600 So you can see that cranked up, installing a new contact. 48 00:02:59,630 --> 00:03:04,510 So if I can tap the shell, you can see that, yeah, we have it. 49 00:03:04,520 --> 00:03:07,420 By the way, it prints everything inside the file. 50 00:03:07,820 --> 00:03:10,300 And I have that every minute unless. 51 00:03:10,340 --> 00:03:12,930 OK, well, actually, this is just arbitrary example. 52 00:03:13,010 --> 00:03:13,420 All right. 53 00:03:13,790 --> 00:03:17,970 Now, actually, the output of this can be using the redirection. 54 00:03:17,990 --> 00:03:19,520 Yeah, we already learned that. 55 00:03:19,730 --> 00:03:22,590 But also by default, it go to that. 56 00:03:22,740 --> 00:03:24,620 So let's have a tail, actually. 57 00:03:25,620 --> 00:03:29,730 Yes, if it goes to the bar, look, sis, look. 58 00:03:31,450 --> 00:03:37,530 Here, OK, so you can see that thrown in for no MTA installed or whatever. 59 00:03:37,600 --> 00:03:38,860 So if I went a little bit. 60 00:03:39,970 --> 00:03:45,400 It will show that every minute it will run this comment with a little bit, actually. 61 00:03:46,090 --> 00:03:46,700 Oh, cool. 62 00:03:46,840 --> 00:03:49,750 So you can see that, yeah, it works correctly. 63 00:03:49,870 --> 00:03:54,630 So here, which is on 11 five fifty five. 64 00:03:55,630 --> 00:04:00,640 This is the alleged command, which is, as you can see, the command for the screen at another every 65 00:04:00,640 --> 00:04:03,760 another minute the command has been executed. 66 00:04:03,760 --> 00:04:07,070 And for this, OK, so everything is working as expected. 67 00:04:07,570 --> 00:04:09,070 So this controversy from it. 68 00:04:10,820 --> 00:04:13,820 So I was interrupted it will we already learned that. 69 00:04:15,250 --> 00:04:22,000 Now, let's clear the screen I want for this current app to be deleted, how to delete all the content 70 00:04:22,000 --> 00:04:28,780 I have, actually, I can use the dashi, by the way, to edit the content and then I can delete this 71 00:04:28,780 --> 00:04:30,540 thing or this current job. 72 00:04:30,970 --> 00:04:35,740 Or if you have, for example, one hundred and you don't need any of one of them. 73 00:04:35,890 --> 00:04:44,040 So you can just loop current app that are this to remove all of the current tabs or chrome tubes I have. 74 00:04:44,050 --> 00:04:47,200 So now after that contact Deshotel to see. 75 00:04:47,650 --> 00:04:52,150 Yeah, you can see no current app for Ubuntu, which means it worked 100 percent. 76 00:04:52,450 --> 00:04:57,820 By the way, you can edit that and you can delete a lot of lines using the Vim, by the way, which 77 00:04:58,210 --> 00:04:59,090 is very powerful. 78 00:04:59,480 --> 00:05:00,880 Anyway, thanks for watching.