I want to schedule a job to run every 5 mins during morning (4-8)AM and evening (7-11)PM and rest of the day every 30 minutes, how can i write a cron expression for it?
I can do this by using two cron expressions for scheduling, but can i do the task using one expression?
No, I believe you'll need 2 separate CRON expressions.