crontab - Quartz Cron expression :Run every 15 days ie twice in a month -
i want set scheduler quartz cron expression trigger every 15 days ,for example 1st , 15th of every month.the 0 15 10 15 * ? triggering on 15th of every month.
i have tested , following expression works fine
"0 0 0 1,15 * ?"
the 1,15 statement fires triggers on 1st , 15th of every month @ 00:00 hours. can change first 3 zeroes fire them @ particular time want.
the 1st 0 -> seconds
the 2nd 0 -> minutes
the 3rd 0 -> hours
Comments
Post a Comment