Billing Central Apex API Developer Reference

ffbc.DeleteOldAsyncDataSchedulable

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.

Methods

execute

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.

© Copyright 2009–2018 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.