@AttributeDefinition(
name = "Cron Expression",
description = "Cron expression used by the scheduler",
type = AttributeType.STRING)
public String cronExpression() default "0 * * * * ?";
You can refer the following documents for more info on the same :
@AttributeDefinition(
name = "Cron Expression",
description = "Cron expression used by the scheduler",
type = AttributeType.STRING)
public String cronExpression() default "0 * * * * ?";
You can refer the following documents for more info on the same :
Refer below code for cron expression at OSGI config.
@AttributeDefinition( name = "scheduler.expression", description = "Cron expression used by the scheduler", type = AttributeType.STRING) public String scheduler_expression() default "0 0 14 1/1 * ? *";
Scheduler will run daily at 2pm with this deafult expression. Next dates be like 12022-09-09 Fri 14:00:002.2022-09-10 Sat 14:00:003.2022-09-11