Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1843 by [email protected]: Wrong crontab definition for indexing weekly search
http://code.google.com/p/reviewboard/issues/detail?id=1843

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


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to