@Scheduled(cron = "0/20 * * * * ? 2005")
public void execute(){
System.out.println("ITs running...");
}
Encountered invalid @Scheduled method 'execute': Cron expression must consist of 6 fields (found 7 in "0/20 * * * * ? 2005")
When I am trying to use 7 fields within the cron expression I am getting this error. Could anyone help me to resolve this issue please?