# API Token
This is because cron jobs from strapi do not work with pm2. So I made an endpoint which contains all Services needed for Cronjobs tasks. And because the cron call will no be authenticated with a user it needs an token so no unauthenticated calls can be made.
For the how to see this article Strapi Api Token
This can be changed as soon this feature is natively implemented.Product Board
The endpoint can be found under the /service endpoint.
Is under the endpoint /service
The following file contains the change to use the token as permission authentication. file: backend/extensions/users-permissions/config/policies/permissions.js line: 13, 16-28