• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to run a schedule task only once in betweeen mentioned hours.

 
kiran nyala
Ranch Hand
Posts: 52
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to run a schedule task only once in betweeen mentioned hours.
For the below configuration My service class method transferLookUpData() is executing for every one minute daily.

Now I try to run this daily once between 9pm to 12pm. To acheive this i tried

But even the server time not between 21hr - 24hr it is executing. More over I need to run this scheduler only once in between 21hr and 24hr.
Please suggest the cron format for this.
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only 0-23 are allowed for hour. Please try 21-23 and see if it works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic