 In this lesson, I'm going to demonstrate how you can schedule your batch epics. So basically this example will show you the combination of batch epics with schedule epics. So in our previous lesson, I implemented one batch epics for a opportunity processor. So this is a batch epics class, which is implementing database dot batchable interface. And here we implemented start then execute and then finish methods. And here we are creating the opportunity records and like all the opportunity records will be processed in batches and this will be the process that will be executed on those opportunity records. Those will be queried here. So this is basically a batch. Now, if you don't create any scheduled epics, then you need to manually execute this batch. But if you want to run your batch on daily or weekly basis automatically. So for that purpose, you can basically schedule your batch epics. So what you can do, you can simply create new epics class. So for example, I am labeling it as opportunity processor scheduler. And here I need to implement schedulable interface. Now inside this scheduled epics class, I'm going to write public void execute. So schedule label context and variable name is SC and now inside this execute method. So this execute method is basically of scheduled epics class. Now inside this execute method, you can create instance of batch epics and you can call that. So what we can do. Let's say a batch class name is opportunity processor. So OPP process equals to new PPP processor. And here I can call database.execute and I can pass this as in parameter. So this way. First I created batch epics and then I created scheduled epics. Inside scheduled epics, I'm calling this execute batch method of batch epics. So now from the UI, like if I schedule this, so this schedule epics will be executed. This execute method will be called and internally this execute method will be calling this execute batch method and instance of opportunity processor batch epics will be passed here as an argument. So this way you can call batch epics into scheduled epics and simply you need to implement its test class as well. So what you need to do, you need to create the records, whatever you are processing here. And after creation of records simply you need to create instance of this opportunity processor scheduler class. And you can pass cron expression and the instance of this opportunities a processor scheduler and automatically this execute method will be run and it will internally call the batch epics execute method. And this way in real time scenarios whenever you create batch epics and if you need like that batch should run automatically on daily or weekly basis so you can try this demonstration.