All custom commands are prefixed with ck:<command-name>
which stands for Connected Kingston
. This way the custom commands are namespaced to avoid collisions with other packages that provide artisan commands.
Command | Scheduled | Description |
---|---|---|
ck:auto-delete:referrals | ✅ Daily at 00:00 | Deletes all referrals which are due for deletion. |
ck:auto-delete:audits | ✅ Daily at 00:00 | Deletes all audits which are due for deletion. |
ck:auto-delete:page-feedbacks | ✅ Daily at 00:00 | Deletes all page feedbacks which are due for deletion. |
ck:batch-upload | ❌ | ⚠️ DEPRECATED ⚠️ |
Uploads and processes the batch upload spreadsheet. | ||
ck:create-oauth-client | ❌ | Creates an OAuth 2.0 client for use with the implicit grant. |
ck:create-user | ❌ | Creates a new super admin. |
ck:decrypt-oauth-keys | ❌ | Decrypts the OAuth keys in the /storage/app/oauth-keys directory. (Needed for PaaS architecture) |
ck:reindex-elasticsearch | ❌ | Recreates and indexes the Elasticsearch indices. |
ck:redis:clear | ❌ | Flush the application redis cache. |
ck:run-scheduler | ❌ | Starts an infinite loop to run the schedule:run command every minute. (Needed for PaaS architecture) |
ck:scout-import | ❌ | A proxy command for scout:import which allows it to be pragmatically ran. |
ck:send-notifications-for-unactioned-referrals | ✅ Daily at 09:00 | Retrieves notifications that haven't been actioned within the last 8 working days (the number can be overridden), and sends notifications to the services to action them. |
ck:set-cf-secrets | ❌ | Parses a Cloud Foundry secrets file and replaces placeholder variables with variables from the current environment. |
Metadata
Author: @Mike
Status: In progress
Date created: April 5, 2023
Last reviewed: April 5, 2023
Next review: April 6, 2024
Questions? Send us an email and we'll get back to you.