Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

what is the meaning of the below cron expressions

what is the meaning of the below cron expressions?

is it going to every 1 min 30 secs or 1 hr 30 mins?

30 0/1 * * * ?

is it going to every 2 mins or 2 hr?

0 0/2 * * * ?
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Not a Java question!
Avatar of chaitu chaitu

ASKER

where do i place this question?In java also we can use these quartz cron expressions right..
First example you give: 30 0/1 * * * ?

This means it wil start every 30 minutes in each hour. So 13:30, 14:30, 15:30 etcetera

Second example: 0 0/2 * * * ?
It will run every 2 hours at 00 minutes. So 00:00, 02:00, 04:00 etcetera

Both will be executed every day.
30 0/1 * * * 

Open in new window

At every 30th minute past every hour
0 0/2 * * *

Open in new window

On the hour every two hours

Both the above every day

Seconds do not have a field of their own
ASKER CERTIFIED SOLUTION
Avatar of mzzltijn
mzzltijn
Flag of undefined image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
???