I am using the Quartz Scheduling API for Java. Could you help me to run every 25 seconds using cron-expression. It\'s just a delay. It does not have to start always at second 0.
I don't think cron expression will allow you to do that, but you can use
SimpleScheduleBuilder.repeatSecondlyForever( 25 )
as 300 (5 minutes) is a multiple of 25 it will repeat automatically.