1843: Wrong crontab definition for indexing weekly search

hadr****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
Oct. 12, 2010
What version are you running?
1.5 release

<file:search-cron.conf>
# Do a full index once a week on Sunday at 2am
* 2 * * 0 "/usr/bin/python" "/usr/bin/rb-site" manage "/var/www/codereview.oslo.osa" index -- --full

above will execute a full index scan _every_ minute at 2 am on sundays

should be:
# Do a full index once a week on Sunday at 2am
0 2 * * 0 "/usr/bin/python" "/usr/bin/rb-site" manage "/var/www/ codereview.oslo.osa" index -- --full

on a side note:
# Incremental indices every 10 minutes
0,10,20,30,40,50 * * * * "/usr/bin/python" "/usr/bin/rb-site" manage "/var/www/codereview.oslo.osa" index

can be changed to just:
# Incremental indices every 10 minutes
*/10 * * * * "/usr/bin/python" "/usr/bin/rb-site" manage "/var/www/codereview.oslo.osa" index

so it's easier for users to change the time
chipx86
#1 chipx86
  • +Confirmed
  • -Priority-Medium
    +Priority-High
    +Milestone-Release1.5.x
    +EasyFix
    +Component-Deployment
chipx86
#2 chipx86
Fixed on release-1.5.x (68a6e03)
  • -Confirmed
    +Fixed
  • +chipx86
chipx86
#3 chipx86
Sorry, 554a4af.