Add a module as cron job I have a module file which fetch data from a link. I have to run this module as a cron everyday. How can I do it?
You have to implement hook_cron to run you task periodically on drupal cron.

function hook_cron() {
  // Your code here
}