0

I want to create a job that runs every x weeks and on a sundays. I tried to use cron, but I'm not sure that this will work.

@Scheduled(cron = "0 0 0 * * SUN/6")
public void takeAction() {
    LOG.info(LocalDateTime.now().toString());
}

0 Answers0