Example of a "sleep" Deployment Template Job to Pause Script Progress (Doc ID 1043188.1)

Last updated on JUNE 27, 2017

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 5.1.0 and later
Information in this document applies to any platform.

Goal

There may be certain operational reasons why a pause or other sort of time delay is needed between running jobs in Deployment Template beanshell script (perhaps for load balancer scripting purposes). How do I inject a pause or make the script sleep for x seconds?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms