Billing Central Apex API Developer Reference


global with sharing class DeleteOldAsyncDataSchedulable implements Schedulable

This class is the implementation of Schedulable that enables you to schedule old background Jobs and Logs for deletion. You can schedule this class by using the System.schedule method and providing a valid CRON.



global void execute(SchedulableContext sc)

The execute method provided by the Schedulable interface. This runs batches to delete all the jobs and logs older than the number of days specified in the Background Process custom setting.