Hi i need to schedule a job to run at 1:00 and 13:30 hours daily.
0 0 1,13 ? * * *
This expression will run at 1:00 and 13:00 hours, is there is a way to add 13:30 hours in this expression?
Hi i need to schedule a job to run at 1:00 and 13:30 hours daily.
0 0 1,13 ? * * *
This expression will run at 1:00 and 13:00 hours, is there is a way to add 13:30 hours in this expression?
should i create 2 seperate jobs or can i put 2 expressions in the same job schedule ?
Usually CRON will take the minute definition we give, for both the hours like 1:30 and 13:30
So itβs better to make two jobs
Like
β create a job with 1:00 as time being in CRON like 0 0 1 * * *
β create another job 13:30 as time being in CRON
Like 0 30 13 * * *
β we need to create two separate jobs for this and that would work for sure
Hope this would help you
For more details on this
Cheers @Gowtham_M
You have to create two separate cron jobs to do this.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.