From a77c32d92d434821e83bc466a3160da912da523f Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Tue, 30 Jan 2024 23:47:57 +0100 Subject: [PATCH] add weekly cronjob for notifications:send-expiration --- CHANGELOG.md | 1 + src/cron/cronjob | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3af821..4c445b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Update composer to 2.6.6 * Disable ``open_basedir`` in dev mode * Replace Feature-Policy response header with Permissions-Policy and allow self for camera and microphone See https://github.com/elabftw/elabftw/issues/4881 +* Send weekly notifications to expiring accounts and their admins # 4.7.0 diff --git a/src/cron/cronjob b/src/cron/cronjob index a398b3c..eb3b62e 100644 --- a/src/cron/cronjob +++ b/src/cron/cronjob @@ -1,3 +1,5 @@ +# send expiration reminders weekly +01 45 * * 0 /usr/bin/php /elabftw/bin/console notifications:send-expiration # check for timestamp balance daily 37 13 * * * /usr/bin/php /elabftw/bin/console notifications:tsbalance # send elabftw notifications emails every minute