Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Need cron expression

Sushma
New Contributor
New Contributor

Hi All,

 

Can you help with cron expression, where we need to schedule a Job which should run at 8am UTC from Monday to Friday and at 9am UTC on Saturday and shouldn't run on Sunday.

3 REPLIES 3

JohnLawson
Regular Contributor
Regular Contributor

I don't believe you can have a different time for a different day, but this would have it at 8 every day but Sunday

0 8 * * 1,2,3,4,5,6

Also I use this to work out Cron expressions for Saviynt: https://crontab.cronhub.io/ 

You could also have two jobs with different crons:
0 8 * * 1,2,3,4,5

0 9 * * 6

rushikeshvartak
All-Star
All-Star

You need to create 2 different job.

At 00:08:00am, on every Monday, Tuesday, Wednesday, Thursday and Friday, every month

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

 

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

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.