eole-mariadb/schedule/extra/01_optimize_hydra.xml

21 lines
966 B
XML

<?xml version="1.0" encoding="utf-8"?>
<creole>
<variables>
<family name="optimize_hydra" description="Optimize sur les tables d'Hydra">
<variable name="description" type="string" hidden="True"><value>Optimize sur les tables de la base Hydra</value></variable>
<variable name="day" type="schedule" description="Périodicité d'exécution"><value>daily</value></variable>
<variable name="mode" type="schedulemod" hidden="True"><value>post</value></variable>
</family>
</variables>
<constraints>
<!-- Désactive les optimize si on est pas sur la machine qui fait les backups -->
<fill name='calc_multi_condition' target='schedule.optimize_hydra.day'>
<param>non</param>
<param type='eole' name='condition_1'>dbEnableBackup</param>
<param name='match'>none</param>
<param name='mismatch'>daily</param>
</fill>
</constraints>
</creole>