
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.
AsyncApexJob is the underlying database table on the Salesforce Platform that tracks asynchronous Apex execution history, including the schedule definitions for Scheduled Apex jobs.
When a sandbox is refreshed from production, administrators may notice that none of the Scheduled Apex jobs that existed in the production org appear in the refreshed sandbox. Checking Setup in the sandbox shows no scheduled jobs listed under Apex Jobs or Scheduled Jobs.
This behavior is expected on the Salesforce Platform. The AsyncApexJob object, which stores Scheduled Apex job definitions and execution history, is not copied during a sandbox refresh. As a result, no Scheduled Apex jobs from production are present in the refreshed sandbox after the refresh completes.
This article explains how to restore Scheduled Apex jobs in a refreshed sandbox on the Salesforce Platform after confirming that the absence of scheduled jobs is expected behavior.
Because AsyncApexJob records are not copied during a sandbox refresh, all Scheduled Apex jobs must be manually re-scheduled in the refreshed sandbox after the refresh completes.
Follow these steps to re-create Scheduled Apex jobs in the refreshed sandbox:
001235886