Schedulable jobs
Each batch job is contained within its own Apex class and needs to be scheduled for execution. The following jobs are available:
Note
Strings associated with Unpaywall and Digital Science are only available for those specific products.
Table 80. Schedulable jobs
Apex class name | String | Description |
---|---|---|
PP_NewUserRequestSchedulable | System.schedule('New User Request Hourly Batch Job', '0 0 * * * ?', new mvn.PP_NewUserRequestSchedulable()); | Class to handle scheduled batches of new user requests. |
PP_DeleteOrphanedContentDocuments | System.schedule('Delete Orphaned ContentDocument', '0 0 13 * * ?', new mvn.PP_DeleteOrphanedContentDocuments()); | Schedulable class to delete orphaned Content Document records from the Closed Task API. |
CM_CacheSObjectMetadataSchedulable | System.schedule('CM_Cache_Task_Metadata_Job', '0 0 * * * ?', new mvn.CM_CacheSObjectMetadataSchedulable('Task')); | When run, clears the |
CM_ScheduledPublishJob | System.schedule('CM_Scheduled_Publish_Job_1', '0 0 * * * ?', new mvn.CM_ScheduledPublishJob()); | Schedulable class to schedule the batch job to publish pending documents scheduled for publication. |
System.schedule('CM_Scheduled_Publish_Job_2', '0 10 * * * ?', new mvn.CM_ScheduledPublishJob()); | ||
System.schedule('CM_Scheduled_Publish_Job_3', '0 20 * * * ?', new mvn.CM_ScheduledPublishJob()); | ||
System.schedule('CM_Scheduled_Publish_Job_4', '0 30 * * * ?', new mvn.CM_ScheduledPublishJob()); | ||
System.schedule('CM_Scheduled_Publish_Job_5', '0 40 * * * ?', new mvn.CM_ScheduledPublishJob()); | ||
System.schedule('CM_Scheduled_Publish_Job_6', '0 50 * * * ?', new mvn.CM_ScheduledPublishJob()); |