With a C program, 

You can for example use a thread which sleeps for 0.2 seconds into a while

    While(1){
         //execute my command
         sleep(0.2)
     }