Reworked the ScheduledJob system.