Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron is not a function #247

Closed
MyWay opened this issue Nov 12, 2024 · 1 comment
Closed

Cron is not a function #247

MyWay opened this issue Nov 12, 2024 · 1 comment

Comments

@MyWay
Copy link

MyWay commented Nov 12, 2024

Hi, I'm running v2.0.5 on Docker and I'm getting the following error at start:

[1] /app/cron.js:109
[1]    Cron(failedCronTime, () => {
[1]    ^
[1] 
[1] TypeError: Cron is not a function
[1]     at runAppCronJobs (/app/cron.js:109:4)
[1]     at Object.<anonymous> (/app/cron.js:151:1)
[1]     at Module._compile (node:internal/modules/cjs/loader:1546:14)
[1]     at Object..js (node:internal/modules/cjs/loader:1689:10)
[1]     at Module.load (node:internal/modules/cjs/loader:1318:32)
[1]     at Function._load (node:internal/modules/cjs/loader:1128:12)
[1]     at TracingChannel.traceSync (node:diagnostics_channel:315:14)
[1]     at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
[1]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
[1]     at node:internal/main/run_main_module:36:49

@quick-tutoriel
Copy link

Hello,
since V2.04 I also get this error at startup.
Is it possible to correct it?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants