Monday, August 6, 2012

Salesforce intra-day scheduled job

Via UI apex classes can be scheduled to run at a maximum of once per day. To run more frequently, use the Developer Console.

e.g. to schedule a job every hour, execute the following:


System.schedule('Name of the batch job', '0 0 1-23 * * ?', new YourBatchClass());

No comments: