I've created a scheduler class and wrote the configuration and run() method for scheduler. I need a System.out at intervals based on the cron-expression. How can I set the scheduler interval to the cron-expression and make it run?
Reading through the Scheduler API instead of whiteboard almost all the methods was found deprecated. What's the alternate for that?