Skip to main content
Nintex Community Menu Bar
Solved

Help creating a cron expression


Lauren_R
Nintex Employee
Forum|alt.badge.img+6

Hi!

I am playing about with custom time triggers, and I have read the "A Guide to Cron Expressions” webpage linked in both the console and nintex help pages. I have created a cron expression, but I keep getting nothing in the schedule... any tips on where I have gone wrong? I want the bot to run every 15 minutes between 2am to 4am every day.. pics of expression and then empty schedule below...
When I use a cron expression editor to double check it says I am using special characters that may not be recognised by everything, but I thought I had followed the linked guide - it’s not working though..

Any help would be appreciated!

 

Best answer by gobitz

Hey Lauren

How are you?

I found this online:

0 15-0 2-4 ? * * *

 

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

Have a nice day

 

M.

View original
Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+4

Hi @Lauren_R,

If I got your need right, try to use that: 0/15 2-4 ? * * *

 

Let me know if it helps.

Translate

Forum|alt.badge.img+6
  • Nintex Employee
  • 29 replies
  • Answer
  • October 23, 2023

Hey Lauren

How are you?

I found this online:

0 15-0 2-4 ? * * *

 

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

Have a nice day

 

M.

Translate

Lauren_R
Nintex Employee
Forum|alt.badge.img+6
  • Author
  • Nintex Employee
  • 30 replies
  • October 24, 2023

Thanks so much @Eli_Shteinberg and @gobitz ! I really appreciate the quick response :) 

 

Using the freeformatter this expression seems to do the trick for my requirements: 0 0/15 2-3 ? * * *

so a combination of both answers!

 

Using that expression gives me the following schedule which is exactly what I wanted (bearing in mind I have this set to PST and I am viewing the console in AEDT time which is why schedule is showing 8pm my time not 2am pacific).

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings