From 5d82725d9e73700af3dc16a5666c5247e0a2d199 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 29 May 2024 15:25:36 +1200 Subject: [PATCH] ENH Update cron for update-js to line up with minor releases --- scripts/cms-any/update-js.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/cms-any/update-js.php b/scripts/cms-any/update-js.php index 9577b08..cb399cd 100644 --- a/scripts/cms-any/update-js.php +++ b/scripts/cms-any/update-js.php @@ -8,14 +8,18 @@ // run on a 1st of the month $runOnDay = 1; +// Runs every 6 months, one month before a scheduled minor release +$cron = "$runOnMinute $runOnHour $runOnDay 3/9 *"; +$humanCron = human_cron($cron); + $content = <<