You need to sign in to do that
Don't have an account?
Gopal Das 13
apex batch scheduler not working
We have one batch class, and want to schedule at every hour, every day.
Below statement has been written inside Schedulable class
System.schedule('Hourly', '0 0 * * * ?', new XXX() );
It was run for 4 times after that it was stopped.
How can I schedule? In the log it is not displaying -
Administration Setup -> Monitoring -> Apex Jobs
Below statement has been written inside Schedulable class
System.schedule('Hourly', '0 0 * * * ?', new XXX() );
It was run for 4 times after that it was stopped.
How can I schedule? In the log it is not displaying -
Administration Setup -> Monitoring -> Apex Jobs
Administration Setup -> Monitoring -> Jobs -> Scheduled Jobs
In mentioned sample, given that XXX your schedulable class, you can schedule is usign "Schedule Apex" OR using cron expression.
Have a look at this (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm)in case you need more info.