How do I configure cron in Drupal 6
Use hook_cron, and implement your functionality in it. This functionality will get executed when the server will ping cron.php.

You just need to set specific time period on which cron will be executed.