one-more / react-cron-builder Goto Github PK
View Code? Open in Web Editor NEWcron expression builder react component
License: MIT License
cron expression builder react component
License: MIT License
In the section periodically when you change between minutes
and hours
the values of every
and on
are also changed, this only happens when previously you had already changed between every
and on
.
Is there a way that these values do not change?
It's not an issue. It's a suggestion.
First of all, great work man. This is an awesome package.
I just wanted to know wouldn't it be better if the onChange event calls on every change we do in the form. Right now it just calls only when the generate button is clicked.
Can this be implemented?
On Runkit, I ran the following code (here: https://npm.runkit.com/react-cron-builder):
require("react-dom")
require("react/package.json"); // react is a peer dependency.
require("lodash/package.json"); // lodash is a peer dependency.
var reactCronBuilder = require("react-cron-builder")
After running it, I encounter the error in the title, pointing to the file react-cron-builder/dist/bundle.js (line 11)
This also happened on my local code, without any other message.
I can't use all of these expressions. I use your library in react to generate cron expression, save it to my db and when i want to start job in my java code i have an error that Cron Expression is invalid. Maybe someone could explain what is the problem?! Thanks.
Hi, you have created a great library, could you add MIT license?
Using react-cron-builder in react, what are the parameters? Can I set it to Chinese? How to get that expression? If you know, please let me know, thank you very much! God bless you!
When I click on clear button in select, I have next error:
Uncaught TypeError: Cannot read property 'value' of null
at exports.getValue (preview.26a577d48087577ef808.bundle.js:3652)
at Object.onChange (preview.26a577d48087577ef808.bundle.js:14520)
at Object.setValue (preview.26a577d48087577ef808.bundle.js:13103)
at Object.clearValue (preview.26a577d48087577ef808.bundle.js:13103)
at Object.invokeGuardedCallback (preview.26a577d48087577ef808.bundle.js:5646)
at executeDispatch (preview.26a577d48087577ef808.bundle.js:5646)
at Object.executeDispatchesInOrder (preview.26a577d48087577ef808.bundle.js:5646)
at executeDispatchesAndRelease (preview.26a577d48087577ef808.bundle.js:1763)
at executeDispatchesAndReleaseTopLevel (preview.26a577d48087577ef808.bundle.js:1763)
at Array.forEach (<anonymous>)
Hey there
I really like this package, and was keen to submit a PR for #5 but I can't run any of this locally. I've been battling errors to do with babel and webpack. The versions were not pinned in package.json
, and used "*" instead, so after running npm install
all the packages were upgraded to the latest version which caused many breaking changes.
I've battled these issues for a few hours now, would you be able to pin the correct versions so I could work on this package? Thanks!
Is there anyway i can configure cron jobs to run on a particular month every year. Or multiple dates every year ? Something like this : http://angular-cron-jobs.github.io/angular-cron-jobs/#/
It's a suggestion.
First of all, This is an awesome package.
I have one suggestion and also I have issue.
Suggestion,
If user set default value. then user can show result.
For Example :- If user use 'cronExpression' at edit time like using state at that time result not showing after I set showResult={true}.
Issue,
Some drop-down not proper bind if I set default value. for Example
I used cronExpression: "*/6 9-21 1 * *"
I am fresher in react.js. Please correct me if I am wrong.
Thank you
October is missing from the month dropdown. All months are offset by 1.
const monthOptions = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'November', 'December' ].map((month: string, i: number) => ({ label: month, value: String(i + 1) }));
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.