CRON Jobs


Introduction

TRAX LRS needs to perform some tasks on a regular basis, so you should configure your CRON jobs carefully to run the following commands.

Commands

Remove soft-deleted stores

This command removes soft-deleted stores and related xAPI data. You should typically run it during a low activity period, every 24 hours.

php artisan stores:cleanup

Remove soft-deleted agents

This command removes soft-deleted agents and related xAPI data. You should typically run it during a low activity period, every 24 hours.

php artisan agents:cleanup

Remove CMI5 expired tokens

This command removes the CMI5 expired tokens. You should typically run it every 60 minutes or less.

php artisan cmi5:cleanup-tokens