Using crontab to execute script every minute and another every 24 hours [closed]
every minute: * * * * * /path/to/php /var/www/html/a.php every 24hours (every midnight): 0 0 * * * /path/to/php /var/www/html/reset.php See this reference for how crontab works: http://adminschoice.com/crontab-quick-reference, and this handy tool to build cron jobx: http://www.htmlbasix.com/crontab.shtml