DevTest CVS monitor Cron time format
search cancel

DevTest CVS monitor Cron time format

book

Article ID: 141040

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

Trying to create Monitor MAR Info file to deploy into CVS.  Need Cron time format  to pass under the schedule tab.

eg. Schedule time : Mon-Fri on every 1 hr.

Environment

All supported DEVTEST versions

Component : CA Service Virtualization

Cause

 Building cron expressions is very specific to customer requirements and is not included as a product feature and thus falls out of our scope of product support. Customers build the cron expressions as per their requirements, evaluate the expressions and then provide them in the product. 

Resolution

Try the below expression that will run a job every hour starting from the time it is first run from Mon-Fri. 

0 0 * ? * MON,TUE,WED,THU,FRI *

Below website has more sample to build expressions: 

- https://www.freeformatter.com/cron-expression-generator-quartz.html

All expressions used must be validated/evaluated before using in the product.