Open order at a certain time



I am trying to open a simple piece of code which allow me to open a position (buy or sell) at a certain time (for instance 11:30:58).

I would like this code to run on its own and to be able to open this position on its own, but I can't do it :(

Any help would be appreciated, thanks you !