1
00:00:01,470 --> 00:00:09,420
In this video, I'll quickly show you how to send an isthmus every six minutes to be able to follow

2
00:00:09,420 --> 00:00:15,900
this video, you should have watched the previous video where we send on a single isthmus with Python.

3
00:00:16,050 --> 00:00:18,750
So this is a code that we wrote in the previous video.

4
00:00:19,410 --> 00:00:25,080
Now all we have to change from this is indent these lines.

5
00:00:26,770 --> 00:00:37,240
And on top here, place a while loop while true, we execute this periodically, but we execute those

6
00:00:37,330 --> 00:00:38,140
only.

7
00:00:42,390 --> 00:00:46,710
Every 60 seconds, so you need to import time.

8
00:00:50,540 --> 00:00:53,540
And then access time that sleep this method.

9
00:00:53,690 --> 00:00:59,120
So this method is also inside the wire loop and there's a finished coat.

10
00:01:01,010 --> 00:01:09,450
So in the codes, we configure the credentials of the Twilio account, which allows us to send SMS of

11
00:01:10,310 --> 00:01:14,450
this wall through, will make sure that this is always execute that continuously.

12
00:01:14,720 --> 00:01:23,360
So if I run this code, know the script will run always, so it will run continuously and it will send

13
00:01:23,360 --> 00:01:25,430
an SMS every 60 seconds.

14
00:01:26,120 --> 00:01:32,390
Now on replay, you can do this, you can run the script or you can do this on your own computer, but

15
00:01:32,390 --> 00:01:40,340
you have to leave your computer turned on 24 seven in order to send that SMS every single minute.

16
00:01:41,500 --> 00:01:48,310
In the next video, I'll show you how to send an SMS every day, so one time per day at a certain time

17
00:01:48,310 --> 00:01:48,610
step.

18
00:01:48,850 --> 00:01:50,230
So I'll talk to you in the next video.

