hi i am new to drupal so i need help.
i have php script that gives me precipitation forecast and and if probability of rain is more than 80% it triggers me automatic email .i set this script to pc's crontab .
but now i want to do this from drupal's cronjob (i want to set this script to drupal's cron).because in my project i need to do this from drupal .
please help me to fix this problem

Comments

You should put your script in a custom Drupal module. Then you can call it using hook_cron(). Implementing hook_cron() is described here https://drupal.org/node/191151

thank you so much .it works for me .thanks a ton