Closed (fixed)
Project:
DB Maintenance
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Jan 2007 at 00:33 UTC
Updated:
28 Jan 2007 at 03:13 UTC
Jump to comment: Most recent file
i have my website cron set to run hourly. it seems silly to be optimizing tables on the hour, so the attached patch adds more flexibility to when optimizations are run. a select box gives the option of running hourly, daily (default), weekly, and monthly. plus there's a link to optimize manually.
tested and works as advertized for me.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | db_maintenance_cron_frequency_0.patch | 3.4 KB | hunmonk |
| db_maintenance_cron_frequency.patch | 3.18 KB | hunmonk |
Comments
Comment #1
hunmonk commentedslight mistake in that last patch -- we need to set our own marker for the last time that the optimizations were performed, and not rely on cron_last.
attached patch corrects.
Comment #2
deekayen commented5.x-1.2