script to check time

added a script to check the system time before starting the scheduler.