X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Fqueue.php;h=3307dba4d4ea661e83727b5f1bbae9c7da87754f;hp=140efd8576c07aba3d1a705451db7ea501bb145e;hb=dae7b78d26d32fb23e8c524f795bbaf40e685c6a;hpb=33b1462fcc1e5fa853f6ca84daa7cff72cdbe706 diff --git a/www/ecrire/inc/queue.php b/www/ecrire/inc/queue.php index 140efd8..3307dba 100644 --- a/www/ecrire/inc/queue.php +++ b/www/ecrire/inc/queue.php @@ -475,7 +475,7 @@ function queue_set_next_job_time($next) { // permet ausis d'initialiser le nom de fichier a coup sur $curr_next = $_SERVER['REQUEST_TIME'] + queue_sleep_time_to_next_job(true); if ( - ($curr_next<$time AND $next>$time) // le prochain job est dans le futur mais pas la date planifiee actuelle + ($curr_next<=$time AND $next>$time) // le prochain job est dans le futur mais pas la date planifiee actuelle OR $curr_next>$next // le prochain job est plus tot que la date planifiee actuelle ) { if (include_spip('inc/memoization') AND defined('_MEMOIZE_MEMORY') AND _MEMOIZE_MEMORY) {