public static CronSchedule dailyAtHourAndMinute ( int hour , int minute ) { String expression = String . format ( "0 %d %d ? * *" , minute , hour ) ; return of ( expression ) ; }
Creates cron expression which schedule task execution every day at the given time