if(time >=midnight)
{rohan->graceful-reboot}