Giter VIP home page Giter VIP logo

Comments (8)

sojinantony01 avatar sojinantony01 commented on June 16, 2024 1

@garg-mahendra

Fixed the issue, updated rollup config and versions

Please use latest cron generator version. 2.0.8
if already installed please uninstall and install package again.

Thanks for reporting the issue.

Feel free to reopen if you same issue again

from react-cron-generator.

SojinAntony avatar SojinAntony commented on June 16, 2024

Please share more details,
React version
Node JS version
OS
and cron gen version as well
...

from react-cron-generator.

garg-mahendra avatar garg-mahendra commented on June 16, 2024

Please share more details, React version Node JS version OS and cron gen version as well ...

"react": "^18.1.0",
node: v16.15.1
OS: WSL2 Ubuntu
Description: Ubuntu 20.04.4 LTS
react-cron-generator": "2.0.3"

from react-cron-generator.

garg-mahendra avatar garg-mahendra commented on June 16, 2024

Thanks for the quick resolution of the mentioned bug.

@sojinantony01 @SojinAntony one thing I want to understand why the values of generated by the react-cron-generator showing invalid cron expression when I'm validating these expression in backend,
for instance

Python Code, even I tried some online tools those also says these are invalid cron. like https://crontab.guru/

from cron_validator import CronScheduler, CronValidator
cron_string="0 10 11 1/1 * ? *"
CronScheduler(cron_string)

// *** ValueError: Invalid expression // error

from react-cron-generator.

sojinantony01 avatar sojinantony01 commented on June 16, 2024

Is it happening for all cron expressions creating from react cron generator? or only this one?

if yestry deleting last value from cron expressions (year value) convert it to a 6 value cron expression and use it

from react-cron-generator.

garg-mahendra avatar garg-mahendra commented on June 16, 2024

Thanks for quick response, Yes, In all expression facing same issue.
Do you mean from
cron_string="0 10 11 1/1 * ? *" At 11:10:00 am, every day starting on the 1st, every month
to
cron_string="0 10 11 1/1 * ? " still not valid

but this will change the value of cron,

from react-cron-generator.

sojinantony01 avatar sojinantony01 commented on June 16, 2024

Ok let me try same here

from react-cron-generator.

garg-mahendra avatar garg-mahendra commented on June 16, 2024

Ok let me try same here

okay, I've not find solution yet.

from react-cron-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.