Scheduling Billing Queue Recalculation
You can schedule when queued billings are processed with the Apex class BillingGenerateQueue:
- From Setup, click Develop | Apex Classes | Schedule Apex.
- Enter a job name, such as Nightly Billing Queue Processing.
- Specify the Apex Class name: BillingGenerateQueue.
- Specify the Frequency: Weekly.
- Select each day that you want the job to run.
- Specify a Start Date of today, and an End Date in the future.
- Specify a Preferred Start Time. We recommend that you set this to a time outside of business hours.
- Click Save.
To check whether a job is scheduled and whether it has run, from Setup click Administration Setup | Monitoring | Scheduled Jobs.