Problem using 5V relay to power a servo with RTC timed precision

I have been trying to use a servo 4 times a day with the help of an rtc DS3231 from arduino board.

Now the thing is the RTC and relay works fine but the servo connection from relay is not working.

#include <Servo.h>

#include <DS3231.h>

int Relay = 4;
int servopin= 10;

DS3231  rtc(SDA, SCL);
Time t;
Servo mys;

void setup() {
  pinMode(Relay, OUTPUT);

void loop() {
  t = rtc.getTime();
  Serial.print(" hour(s), ");
  Serial.print(" minute(s)");
  Serial.println(" ");
  delay (1000);
  if(t.hour == 14 && t.min == 15){
    Serial.println("LIGHT ON");
    mys.write (90);
    delay (1000);
    mys.write (0);
   else {
    digitalWrite(Relay, HIGH);
    Serial.println("LIGHT OFF");

I know nothing about your servo and you gave me nothing. However I think you made a big mistake and blew your uno at least D10. The Arduino is not a POWER SUPPLY, to use it as such will probably destroy it. Inductive loads are the worst.
Why not start by defining the problem with specifications including a flow chart and schematic. Define what is the expected outcome. Purchase the Arduino cookbook and read it, this will give you some basics. also use the online tutorials and videos available, there are many good ones on this web site. At this point you will be able to define the problem and may have already solved it.