Device License Count is only available in Mender Enterprise. Ignore this section if you are running Mender Open Source.
To enable the device license count in your composition, you must schedule a cronjob to run the device-count command daily.
Assuming you have cron available you can create a crontab entry in the following way:
echo "7 3 * * * cd YOUR-SERVER-ROOT && docker-compose run --entrypoint /usr/bin/deviceauth-enterprise mender-device-auth license-count" | crontab -
YOUR-SERVER-ROOT stands for the sevrer root path where all the docker compose files are present.
© 2023 Northern.tech AS