All right, so in this video, we're going to discuss how to control how often monkey runs now at the
top of the entire course, we'd said that monkey runs approximately every hour with a random offset.
And then I just showed you the launch demon called Manage Software Update Check, which I have opened
here in this terminal.
And this is set with defaults out of the box.
Now, how it works a little bit more precisely is that you can see that we have this stark calendar
interval and it's saying the 10 minute.
So that's when this entire demon starts.
It starts on the tenth minute and then we have a delay random, which we have set to an hour.
So there's a our random delay and then monkey runs.
So at the 10th minute, the demon loads, it comes up with a random interval around an hour and then
it will run monkey at that interval.
All right.
So let's go ahead and make it a lot more aggressive so we can do some things that we haven't done before.
So I'm going to go ahead and I'm going to get rid of our vocab once again.
And I'm going to go also and edit the.
The launch Dayman, and so what you can see I did is I said I changed the way random from one hour to
one minute, and then I changed the start calendar interval from 10 minutes to 10 seconds.
Now, when you make a change to a launch team and what you need to do is you need to unload it.
And so we're going to use launch scale, unload and then the.
Path to the launch, David, and then after that, we're going to go ahead and reload it and so it's
going to load on the second.
So you can see here I've changed my time so we can see the seconds.
Now, the other thing that I want to do is since I uninstalled, you'll see it's going to install,
but I'm going to change it to unattended stall because we've never had unattended stall checked on any
of our lessons because I didn't want monkey doing things in the background.
We wanted to have a lot of control over it.
So the next thing I'm going to do is I'm going to go ahead and do a live log of monkey.
And we can see that the last time it ran was before this lesson started, and now we're approaching
the tenth.
Second.
And then there should be a random offset of the minute.
Well, there it goes, it was me.
So you can see it's downloading Velzy.
And it's going to install it as well.
And so this is what it's like when monkey runs in the background and there are unintended installs for
to do, it just happens.
OK, so now in approximately one minute, monkey should run again, but there won't be anything for
it to do.
So we'll just wait for one minute and we'll see that monkey will run again.
And there we have it, so it's running.
All right, so now that you know how to alter the settings for monkey, you should be able to get monkey
to run at times and frequencies that are appropriate for your particular environment.