1 00:00:06,660 --> 00:00:09,960 - So, the next assignment was scheduling tasks. 2 00:00:09,960 --> 00:00:12,720 So, schedule a task that writes the text good morning 3 00:00:12,720 --> 00:00:15,000 to the default system logging system every day 4 00:00:15,000 --> 00:00:16,170 at 5:00 AM, 5 00:00:16,170 --> 00:00:18,990 and ensure that this task runs as user bob, 6 00:00:18,990 --> 00:00:20,763 and create the user if necessary. 7 00:00:21,660 --> 00:00:24,570 So, that sounds like Chrome, doesn't it? 8 00:00:24,570 --> 00:00:25,403 Let's do it. 9 00:00:27,720 --> 00:00:32,220 So grep bob /etc/passwd 10 00:00:32,220 --> 00:00:35,370 We don't have a user, bob, so useradd bob. 11 00:00:35,370 --> 00:00:38,460 Don't forget the minus M if you're on Ubuntu 12 00:00:38,460 --> 00:00:41,310 because otherwise, the user doesn't get a home directory. 13 00:00:42,660 --> 00:00:45,543 So, next I'm going to open a shell as user bob, 14 00:00:47,340 --> 00:00:50,560 and I'm using crontab minus e 15 00:00:51,420 --> 00:00:54,960 to create my job that is going to run as user bob. 16 00:00:54,960 --> 00:00:56,670 So, every morning at 5:00 AM, 17 00:00:56,670 --> 00:01:01,577 that is minute zero hour five star, star, star logger. 18 00:01:04,080 --> 00:01:05,313 Good morning. 19 00:01:09,150 --> 00:01:11,670 That will install the new Chrome tab for use of bob. 20 00:01:11,670 --> 00:01:13,593 And believe it or not, that's all.