How could I enabled scheduled jobs only in specific profiles?
pseudocode:
@Scheduled(cron = \"${job.cron}\") @Profile(\"prod\") public void runJob() { }