We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Below error getting
~/node_modules/node-cron/src/pattern-validation.js:92 throw new Error(${patterns[2]} is a invalid expression for hour); ^
${patterns[2]} is a invalid expression for hour
Error: 6/12 is a invalid expression for hour
I want to run cron 6am and 6pm everyday. Thanks in advance.
The text was updated successfully, but these errors were encountered:
0 6,18 * * * would be the correct expression. Using this, the cron job will run at 6 and 18 hours, which are 6am and 6pm everyday.
0 6,18 * * *
Sorry, something went wrong.
No branches or pull requests
Below error getting
~/node_modules/node-cron/src/pattern-validation.js:92
throw new Error(
${patterns[2]} is a invalid expression for hour
);^
Error: 6/12 is a invalid expression for hour
I want to run cron 6am and 6pm everyday. Thanks in advance.
The text was updated successfully, but these errors were encountered: