Scheduled Task Services records define the scheduling agents that Aptify can use to manage tasks. Aptify includes three Scheduled Tasks Services by default: Windows Scheduler, Remote Scheduler, and Schedule Only.
- About the Remote Scheduler Service
- About the Schedule Only Service
- About the Windows Scheduler Service
About the Remote Scheduler Service
This service provides all users with the ability to create a Scheduled Tasks record even those users who do not have the necessary permissions to create a Windows Scheduled Task. This service supports global system functionality that you may want to make available to all users, such as view scheduling, delayed message delivery, or message scheduling.
The system automatically executes the following logic when a user saves a Scheduled Tasks record whose Service is set to Remote Scheduler:
- The Scheduled Tasks record is saved with Service set to Remote Scheduler.
- Typically, a user will not create a Scheduled Tasks record directly but will perform an action that creates a Scheduled Task, such as specifying a message for future delivery or scheduling a view.
- The Remote Scheduler service creates a Process Flow Runs record that is linked to the Update With Remote Scheduler process flow. The Process Flow Run is assigned to the Application Server specified in the Scheduled Tasks record.
- The Update with Remote Scheduler process flow converts a Scheduled Task's Service from Remote Scheduler to Windows Scheduler and then saves the Scheduled Tasks record.
- The Application Server polls the database server and the pending Process Flow Run to update the Scheduled Task's service to Windows Scheduler.
- This generates a Windows Scheduled Task on the Application Server that will execute the Scheduled Task at the appropriate dates and times as specified by the user.
- Since the Application Server's user account modifies the Scheduled Tasks record, that user account, which should already have the necessary permissions, creates the Windows Scheduled Task in lieu of the user who originally saved the Scheduled Tasks record.
About the Schedule Only Service
This service is used to indicate a Scheduled Task that stores data related to an event that occurs at a specified date and time, but which does not correspond to a Windows Scheduled Task, and which is not responsible for creating the schedule.
This service is reserved for future use.
About the Windows Scheduler Service
This is the primary service used by Aptify Scheduled Tasks. When a Scheduled Tasks record is saved with this service specified, Aptify creates a corresponding Windows Scheduled Task on an Application Server.
Note that only users who have the necessary permission to create a Windows Scheduled Task on the Application Server can save a record with this service specified. See Granting Access Rights for Scheduled Tasks for more information on the required permission set.
Comments
Please sign in to leave a comment.