Important
The scheduled jobs feature for Site Factory enables you to add one-time, complex data processing jobs to be executed at a single, specific time in the future. If the job must be performed multiple times, you should instead use cron jobs scheduled through the Site Factory user interface.
Scheduled jobs aren’t executed through HTTP web requests. Unlike cron jobs, you can review the outcome and historical performance data for scheduled jobs in the Site Factory Management Console.
Sign in to the Site Factory Management Console using an account with the platform admin role.
In the admin menu, click Administration, and then click the Scheduled jobs history link.
Site Factory displays the Recent Job History, which includes an overview of the scheduled jobs performed in recent days, and an Archived Job History of historical data:
To display a detailed listing of scheduled jobs completed for a day, and access details about an individual job, click the View jobs link for your desired day.
After identifying a calendar day of jobs you want to view, the Site Factory Management Console displays a table of all jobs performed that day:
When reviewing the list of jobs performed on a calendar day, you can view detailed information about the performance and outcome of a specific job. The Site Factory displays the overview information displayed on the per-day list of scheduled jobs and the following additional detail about the job in the Property column:
0
indicates success.The scheduled jobs feature defines a latency threshold which determines if the job’s start time should be counted as delayed. To request an increase or decrease in the default latency threshold of 15 seconds, contact Acquia support.
You cannot delete an individual scheduled job, but you can remove all
scheduled jobs for a domain by SSHing into your environment and issuing the command ./sj rm [domain]
,
replacing [domain]
with the website’s domain name.
Important
Site Factory immediately removes all scheduled jobs for the domain you specify. This action cannot be undone.
You do not need to disable schedule jobs when performing code
deployments. Scheduled jobs
will always execute against your production website, regardless of whether it
is currently hosted on the live
or update
environment.
Site Factory pauses scheduled jobs before moving websites from
the live
environment to the update environment, to prevent data
inconsistencies. The scheduled jobs are re-enabled on the update
environment, and remain enabled on the website until it is placed into
maintenance mode for updating. When the website is taken out of maintenance
mode, Site Factory will re-enable scheduled jobs for this website
on the live
environment.
Note
If the scheduled jobs back end requires an update as part of an Site Factory platform release, Site Factory will pause scheduled jobs to allow the service to update.
When duplicating a website, as either a clean copy or a full website clone, Site Factory duplicates scheduled jobs from the original website, and updates them to reflect the domain name for the new website.
Scheduled jobs are tied to a domain name. If you delete the domain name associated with a scheduled job, Site Factory attaches the scheduled jobs to another domain name associated with the same website.
If, instead of deleting a domain name, you delete the entire website, all scheduled jobs associated with that website are immediately deleted.