From dfc76cd7d6eea7bc62395f5595ac98f69d4f9671 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 29 May 2024 17:21:56 +1200 Subject: [PATCH] ENH Update cron for update-js to line up with minor releases (#54) --- 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..c4a2b35 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 = <<