Cron configuration
How to se开发者_如何学Ct cron to clean drupal cache every 2 days?
You have to set this in your server, not from Drupal.
Cron example:
minute hour day month day-of-week command-line-to-execute
0 * * * "MON,WED,FRI" wget -O - -q -t 1 http://www.example.com/cron.php
http://drupal.org/cron
http://en.wikipedia.org/wiki/CRON_expression
to set up a crontab entry for this to run every 2 days, only once a day at 01:00am : (Using step values in conjunction with ranges in crontab)
0 1 1-31/2 * * wget -O - -q -t 1 http://yoursite.com/cron.php
See:
man 5 crontab
http://drupal.org/node/23714
精彩评论