cronhub / crontab Goto Github PK
View Code? Open in Web Editor NEW⏰ Cron expression generator
Home Page: https://crontab.cronhub.io
License: MIT License
⏰ Cron expression generator
Home Page: https://crontab.cronhub.io
License: MIT License
This threw me off for quite some time.
node-schedule has 6 inputs. Cronhub only specifies 5.
https://www.npmjs.com/package/node-schedule
10 10 31 4 5
At 10:10 AM, on day 31 of the month, and on Friday, only in April
but in April 31 is not a valid date
When I enter in "0 15 10 ? * 6#3", it should resolve to "At 10:15am on the third Friday of every month". Currently it resolves to "At 10:15am on the third Saturday of every month". The day of the week is 1 based and starts on Sunday.
As the support for non-standard characters like W
or L
or #
depends on the implementation, a small doc string, stating which ones are supported by this specific implementation, maybe on the bottom of the page, would be great.
So maybe something like https://crontab.cronhub.io/?cronExpression=*/5 * * * *
would just prefill the input otherwise if empty, leave it at default.
There are some applications (i.e. Spring) that use a sixth field for cron expressions to represent seconds.
The option to have a sixth field represented in a generator would be ideal for these use cases.
With the Gitpod Ready-to-code system, users can easily build the website in a single click without installing any extra dependencies. This is used widely by many open-source developers and companies.
If possible, I'd like to work on this. 🙂
What do you think about this? Thanks.
Would like to see the next 10 (or even more up to 100 maybe - or customizable?) next execution times for a better view of the scheduled expression.
Example:
cron: 4/5 * * * *
next at 2020-08-13 11:59:00
then at 2020-08-13 12:04:00
then at 2020-08-13 12:09:00
then at 2020-08-13 12:14:00
then at 2020-08-13 12:19:00
.
.
.
I know I should try and open a PR, but I'll at least report it for now 🙂
I tried adding the cron 4-29/12,39-59/12 * * * *
, and got the output:
Every 12,39-59 seconds, seconds 4 through 29 past the minute
Which doesn't look quiiiiite right. It should be:
Every 12th minute from 4 through 29, and every 12th minute from 39 through 59.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.