UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Do you mean 

uCMDB 9.03 Data Push use of Cron to SM 9.3

Occasional Visitor

uCMDB 9.03 Data Push use of Cron to SM 9.3

I have attached a couple screenshots to indicate my issue trying to use cron from the Data Push setup in Integration Studio.

 

Basically I am trying to cause the Data Push to happen at a specified time within an hour, not at the top of the hour as it does by default, say 5 minutes after the hour.

 

I am unable to find information on exact syntax or actual working examples.

 

I am able to enter a syntax that initially the system indicates is valid (screenshot 1) and when I save the integration, I get an error (screenshot 2).

 

My guess is that I am not using the correct syntax, but I cannot find any information on the proper use of the cron function.

 

I have search Google and specifically on HP's site with no luck at all!

1 REPLY
Frequent Advisor

Re: uCMDB 9.03 Data Push use of Cron to SM 9.3

The cron expressions are found on page 370 of the HP uCMDB Modeling Guide:

 

Cron Expressions

A Cron Expression is a string composed of six or seven fields separated by

white space. Six of the fields are mandatory, and one is optional.

The following table contains the fields used in a Cron Expression.

The following table contains examples of how to use Cron expressions.

Field Name Allowed Values Allowed Special Characters

Seconds

0-59 , - * /

Minutes

0-59 , - * /

Hours

0-23 , - * /

Day of month

1-31 , - * ? / L W C

Month

1-12 or JAN-DEC , - * /

Day of week

1-7 or SUN-SAT , - * ? / L C #

Year (optional)

empty, 1970-2099 , - * /

Cron Expression Meaning

0 0 12 * * ?

The task runs every Wednesday at 12:00 PM.

0 15 10 ? * *

The task runs at 10:15 AM every day.

0 15 10 * * ? 2005

The task runs at 10:15 AM every day during the

year 2005.

0 0/5 14 * * ?

The task runs every 5 minutes starting at 2 PM and

ending at 2:55 PM, every day.

0 15 10 15 * ?

The task runs at 10:15 AM on the 15th day of

every month

 

Hope this helps you out.

//Add this to "OnDomLoad" event