For each 12 hours i have to perform insert operation automatically
how to write trigger for this .