Time Code

I am looking to create a program that if the time for example then pin 13 is high for one second then at another time pin 13 is low for five seconds for example. I was wondering if anyone had any code for this.

if the time for example then pin 13 is high for one second then at another time pin 13 is low for five seconds for example.

If the pin is HIGH for some time, then LOW for some time, do what?

I am using it for a computer power idea I have

I am using it for a computer power idea I have

Hand-waving is hard to translate into code. Concrete requirements are much easier.

What is it you want to do?

When is the time for example(s)?
Now?

So if for example the time had just hit 7 am then I would want it to turn on the appropriate pin for about a second so the transistor could turn on the computer and then if it got to 9PM it would turn it on for a longer time so that the server would turn off.