Uday
Uday
TTwenty
Created by Uday on 1/25/2025 in #❓︱help
Local Setup - Cron Job not running
Description: I've created a cron job in twenty-server application using the CamundaSyncCronJob. The job is added to the cronQueue using a command, but it doesn't seem to be executing. Details: The command node dist/src/command/command.js cron:camunda:sync successfully adds the job to the queue. Logs confirm the job is added: addCron cron-queue CamundaSyncCronJob. The worker responsible for processing the cronQueue might not be running or processing jobs correctly. Steps Taken: Verified that the command adds the job to the queue. Checked the CamundaSyncCronJob setup with @Processor and @Process decorators. Added logging inside the handle method to confirm execution. Ensured the worker process is started with node dist/src/queue-worker/queue-worker.js. Checked for any errors in the logs. Output I can not see logs written in the services
1 replies