Hi;
You simply create your program to do what it needs to do. Compile and make sure it runs and does work. Then add a CRON job to run your program on what ever time table needed.
I hope that helps.