Skip to content

Cron Tasks Overview

Cron tasks are usually stored in the config folder of the Strapi project (here: config/cron-tasks.js) and need to be enabled in the server.js file before being executed. For further details see the Strapi documentation.

CrontaskDetailsFunctionalityRuns at
sendSignInSheetToHareImplemented in:
config/cron-tasks.js
Identify the hare of this weeks run and send an email including link to Sign-in sheet, username and this weeks password (4-digit number) rule: ""5 6 * * 4"", // Every Tuesday at 6.05am
tz: ""Asia/Kuala_Lumpur""
currently not in use
anonymizeGuestsImplemented in:
config/cron-tasks.js
Identify guests whose last run is more than 3 months ago. Annoymize the guest record by hashing the full_name and deleting the contact_norule: ""10 2 * * 4"", // Every Thursday at 2:10 AM
tz: ""Asia/Kuala_Lumpur""
updateHashImplemented in:
config/cron-tasks.js
Update the hashestable with this_weeks_rundate and hares_password rule: ""5 5 * * 4"", // Every Tuesday at 5.05am
tz: ""Asia/Kuala_Lumpur""

Released under the MIT License.