taches_generales
function, accepting a parameter and returning output of a keyed array, using function names as the key and the time between execution runs as the value.
return pipeline('taches_generales_cron', $taches_generales);
taches_generales
function, accepting a parameter and returning output of a keyed array, using function names as the key and the time between execution runs as the value.
return pipeline('taches_generales_cron', $taches_generales);
function carte_postale_taches_generales_cron($taches){
$taches['nettoyer_cartes_postales'] = 7*24*3600; // every week
return $taches;
}
genie/nettoyer_cartes_postales.php
file. It deletes all the files in a given directory that are older than 30 days, by using the purger_repertoire
function:
Author Published : 19/02/10 Updated : 12/05/17
Translations : English, français