summaryrefslogtreecommitdiff
path: root/manifests/server/cron/optimize.pp
AgeCommit message (Collapse)Author
2015-03-27Cron jobs are not removed when unused.Gabriel Filion
Currently, if you have the bad idea of setting backup_cron or optimize_cron to true in the main class and later to change it back to false, the associated cronjob will stay in place even though you don't want it. To make this option more consistant, let's remove cron jobs (and backup helper scripts) when the appropriate option is set to false. Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
2014-03-06Randomize time of execution for optimize script.Gabriel Filion
By default, time will be between midnight and 7:00 any day of the week. The values are currently hard-coded. This can have serious I/O repercussions on a server with multiple VMs that run mysql since they will all run their optimizations simultaneously.
2013-01-02lintingmh
2010-08-11remove unnecessary fileserver variable (#2460) round IImh
2010-04-02move scripts to /usr/local/sbin, old scripts are getting removed by wiping ↵mh
the modules dir
2009-12-10make backup and optimize cron jobs optional; introduce $mysql_backup_cron, ↵Jerome Charaoui
$mysql_backup_dir and$mysql_optimize_cron; use a module_dir for scripts