Working with the Scheduler → About the Scheduler
The Scheduler feature enables users with the Remote Administration privilege to schedule jobs to be performed on a specific date and time; on a daily, weekly, monthly, or yearly basis; or on an advanced recurring basis via a cron expression. The Scheduler works in conjunction with the Notification Server and requires it to be running to execute jobs. If the Notification Server is offline, any pending jobs will be processed when it is back online.
Use Scheduler when notifications or external schedulers like Windows Task Scheduler do not meet your requirements. For example, you can create notifications to perform actions on existing SBM data, but they are not well suited for importing new SBM records. As another example, using an external scheduler does not always scale well in an environment with multiple SBM servers behind a load balancer in which a job should only run once (and not once per server). Or you may have a more complicated scenario in which you need to do a certain sequence of activities in a certain order.
The Scheduler feature enables you to work around these limitations. You can schedule jobs for the actions below.
You can use the Scheduler to execute SBM ModScript and SBM AppScript. For example, to schedule a sequence of commands in a certain order, invoke a script that then calls the commands in the order you need. Other ideas include:
You can use the Scheduler to perform an LDAP import or update on a scheduled basis. For example, if you want to ensure that SBM user data is synchronized with your LDAP user data, define an LDAP Import job that automatically updates your SBM users from LDAP on a recurring basis. Note that you must enter valid LDAP search settings and save them as an LDAP option set before you can schedule an import or update task.
You can use the Scheduler to execute an Application Engine Web service. For example, you can schedule Web service invocation using the sbmappservices or sbmadminservices calls to work with items and users in SBM.
You can draft an email on the Scheduler page and send it at a scheduled date and time. For example, you might need to send an email to your users to inform them of planned or recurring maintenance activities.
You can use the Scheduler to perform a REST call using a REST data source that you have defined in SBM Composer. For example, you might have SBM perform the REST call to take action on an external system.
You can have the Scheduler raise an event to invoke an orchestration by a given user.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.