Skip to main content
fusionCore ships several batch jobs that keep records up to date. This page lists those jobs and explains how to schedule and manage them.

Jobs

fusionCore schedules these jobs when each package is installed, and an administrator can change any schedule (see Schedule a new job below). Jobs run in the time zone of the user who scheduled them.Stagger jobs that touch the same records. In particular, FC: Process Subscription Purchase Activity records must run before FC: Generate Renewal Orders — schedule Purchase Activity at 12:00 AM and Renewal at 4:00 AM. Both update subscription and purchase activity records, so if renewal runs first (or at the same time) it can generate renewals from stale subscription statuses. If your org’s installed defaults differ, reschedule these two jobs into this order.

Post-Install and Post-Upgrade Steps

After an install or upgrade, verify that your jobs are scheduled correctly and check your email for any notifications about failed jobs. If a job fails to schedule, Salesforce emails the admin who performed the installation with details about the failure.

Schedule a New Job

1

Open Scheduled Jobs

Navigate to Setup. In the Quick Find box, enter Scheduled Jobs, then click the menu item.
2

Start a new scheduled job

Click Schedule Apex. Enter a Job Name (for example, FC: Log Clean Up Batch Job).
The All Scheduled Jobs page in Setup with the Schedule Apex button highlighted above the list of fusionCore jobs

The Schedule Apex button on the Scheduled Jobs page

3

Select the Apex class

Click the search icon next to the Apex Class field and select the appropriate Apex class (for example, LogCleanUpBatch).
4

Set the frequency

For Schedule Using, choose Schedule Builder. Set the appropriate Frequency. For a daily job, select Weekly and check every day of the week.
5

Set the start and end dates

Set the Start date (this can be today’s date). If the job should run indefinitely, set an End date far into the future (for example, the year 2125).
6

Set the start time

Set a Preferred Start Time. As a best practice, run jobs when the fewest users are online (often overnight). Stagger the start times of jobs that affect the same objects. For example, in the table above, FC: Process Subscription Purchase Activity records runs at midnight and FC: Generate Renewal Orders runs at 4 am, so the status job finishes before renewals are generated (both affect the Purchase Activity object).The following screenshot shows a Schedule Apex job before it has been saved.
The Schedule Apex form with a job name, Apex class, frequency, and start time set
7

Save

Click Save.

Edit an Existing Job

1

Open Scheduled Jobs

Navigate to Setup. In the Quick Find box, enter Scheduled Jobs, then click the menu item.
2

Manage the job

Next to the scheduled job you want to change, click Manage. From there, you can:
  • Pause the job to temporarily stop it. Click Pause.
  • Delete the job. Click Delete.
  • Reschedule the job. Make any necessary edits, then click Reschedule Job.

Limitations and Common Pitfalls

If a job was previously named differently from what is listed in the table above, the system re-adds it using the standardized name. This can create duplicate jobs for the same functionality. After an upgrade, review your scheduled jobs and remove any redundant ones.