How could I enabled scheduled jobs only in specific profiles?
pseudocode:
@Scheduled(cron = "${job.cron}")@Profile("prod")public void runJob() {}
Is that possible?
Aucun commentaire:
Enregistrer un commentaire