Relative Content

Tag Archive for strapi

Strapi v5 Cron Task: strapi.db.query().create Not Working as Expected

I created a background task that periodically requests an API service in cron-task in strapi v5.
I made it insert data into the DB to simply test this service, but it doesn’t work well.
I confirmed that the task is called periodically, and there is no error message,
but strapi.db.query().create doesn’t seem to work.

Strapi v5 Cron Task: strapi.db.query().create Not Working as Expected

I created a background task that periodically requests an API service in cron-task in strapi v5.
I made it insert data into the DB to simply test this service, but it doesn’t work well.
I confirmed that the task is called periodically, and there is no error message,
but strapi.db.query().create doesn’t seem to work.

Strapi v5 Cron Task: strapi.db.query().create Not Working as Expected

I created a background task that periodically requests an API service in cron-task in strapi v5.
I made it insert data into the DB to simply test this service, but it doesn’t work well.
I confirmed that the task is called periodically, and there is no error message,
but strapi.db.query().create doesn’t seem to work.