@Scheduled annotation is used to trigger the scheduler for a specific time period?
1.@Scheduled(cron = "0 * 9 * * ?")
2.@Scheduled(time= "0 * 9 * * ?")
3.@Scheduled(crontime = "0 * 9 * * ?")
4.None
Posted Date:-2020-12-17 04:57:13
@Scheduled(cron = "0 * 9 * * ?")
1.code to execute the task every minute starting at 9:00 AM and ending at 9:59 AM, every day.
2.code to execute the task every minute starting at 9:00 AM and ending at 10.00 AM, every day.
3.code to execute the task every 9 minute starting at 9:00 AM and ending at 9:59 AM, every day.
4.None
Posted Date:-2020-12-17 04:59:36
@Scheduled(fixedDelay = 1000, initialDelay = 1000)
1.Fixed Delay scheduler is used to execute the tasks at a specific time. It should wait for the previous task completion. The values in seconds
2.Fixed Delay scheduler is used to execute the tasks at a specific time. It should not wait for the previous task completion. The values in seconds
3.Fixed Delay scheduler is used to execute the tasks at a specific time. It should not wait for the previous task completion. The values in milliseconds
4.None
Posted Date:-2020-12-17 05:07:48
@Scheduled(fixedRate = 1000)
1.Fixed Rate scheduler is used to execute the tasks at the specific time. It does not wait for the completion of previous task. The values is milliseconds.
2.Fixed Rate scheduler is used to execute the tasks at the specific time. It does not wait for the completion of previous task. The values is seconds.
3.Fixed Rate scheduler is used to execute the tasks at the specific time. It does wait for the completion of previous task. The values is milliseconds.
4.None
Posted Date:-2020-12-17 05:03:00
Fixed Delay supported in spring boot ?
1.true
2.false
Posted Date:-2020-12-17 05:05:53
Fixed Rate scheduler not supported in Spring boot .
1.true
2.false
Posted Date:-2020-12-17 05:00:53
Spring Boot provides a good support to write a scheduler on the Spring applications
1.true
2.false
Posted Date:-2020-12-17 04:51:49
To enable the scheduler for your application?
1.@EnableSpringBootScheduling
2.@EnableScheduling
3.@EnableSpringBootsScheduling
4.None
Posted Date:-2020-12-17 04:53:50