Published on 2013-06-21
Cron runs Drupal background processes. For example it is used by the update module to check if there are security updates.
First install Drush:
install Drush (http://www.drush.org/resources )
Set Path
set the drush installation path in your environmental variables, so you can run drush from any directory in your terminal.
UNIX every 4 minutes
- terminal "crontab -e"
- add “0/4 * * * * drush --root=</path/to/your/drupal-site> @sites core-cron --yes“
- save and your cron will run every 4 minutes
https://drupal.org/node/1294438
Windows every 4 minutes
- install “Cron Script Manager” (http://cronsm.sourceforge.net/ )
- choose “Add script”
- scriptname “<your-drupal-site>”
- script content: “drush --root=C:\<path\to\your\drupal-site> @sites core-cron --yes”
- click “ok”, goto “schedule”
- add “*/4 * * * * ?<your-drupal-site>”
- save and your cron will run every 4 minutes
Check cron status
- Login as Admin and goto (<drupal-site>/admin/reports/status)
- You see the last time cron run aside “Cron maintenance tasks ”
- There is also a link to run cron manualy.
Enjoy
You are up and running now.