To check your time based apex class you can use the following code. My name of time based apex is: SendOppTimeBasedAlerts_Scheduler
1 |
SendOppTimeBasedAlerts_Scheduler s = new SendOppTimeBasedAlerts_Scheduler();<br data-rich-text-line-break="true" />s.execute(null); |
1 2 |
Name of your apex s = new Name of your apex(); s.execute(null); |
Now open your console and go to Debug –> Open Execute Anonymous Window

Insert the code snippet that I wrote above and check the results of your Test apex.
