- Import 'dayjs' to format timestamps for better readability. - Store the scheduled job instance in a private field to access next execution time. - Update the 'start' method to log the job name and the precise next run time. - Update 'watchEvents' method with a debug log for the next invocation. This improves observability by showing exactly when the scheduled task is expected to run next, rather than just the schedule definition. |
||
|---|---|---|
| __test__ | ||
| .vscode | ||
| assets | ||
| prisma | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| docker-compose.yml | ||
| dockerfile | ||
| package.json | ||
| prisma.config.ts | ||
| README.md | ||
| tsconfig.json | ||