You can use the Apex Scheduler to run InvoiceEmailDeliveryScheduler class to schedule email delivery of invoices on a regular basis. Invoices that are not auto-approved, cannot be emailed as part of the Invoice Runs. You might also not want to email invoices as soon as they are generated. For sending such invoices through email, you can schedule this batch job to run at a weekly or monthly frequency.
Go to Setup, enter Apex Classes in the Quick Find box, select Apex Classes (under Develop), and then click Schedule Apex button located at the top.
Enter Job Name.
From the Apex Class lookup, select InvoiceEmailDeliveryScheduler class.
Under Schedule Apex Execution, specify how often the Apex class should run.
For Weekly—Select one or more days of the week for the job to run (such as Monday and Thursday).
For Monthly—Select either date or day of the job to run (such as second Monday of every month).
Enter the Start and End dates for the Apex scheduled class.
Specify a Preferred Start Time.
Click Save.
If you execute InvoiceEmailDeliveryJob directly, ensure that you do not set the batch size to more than 10. Conga recommends that you set the batch size as 1.