@ Override public Date getScheduleTime ( ) { if ( nextScheduleTimeAdd < 0 ) { return null ; } long current = System . currentTimeMillis ( ) ; Date nextSchedule = new Date ( current + nextScheduleTimeAdd ) ; logger . debug ( "Next schedule for job {} is set to {}" , this . getClass ( ) . getSimpleName ( ) , nextSchedule ) ; return nextSchedule ; }
one day in milliseconds