GithubHelp home page GithubHelp logo

shawnchin / jquery-cron Goto Github PK

View Code? Open in Web Editor NEW
178.0 178.0 118.0 91 KB

A jQuery plugin to provide a simplified interface for users to specify cron entries

Home Page: http://shawnchin.github.io/jquery-cron

License: MIT License

CSS 12.04% HTML 87.96%

jquery-cron's People

Contributors

akoskm avatar shawnchin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-cron's Issues

Translating

I translated jquery-cron for one of my projects to german.
What do you think about translating jquery-cron?
Should I add my translated jquery-cron.js to the repository (e.g. as jquery-cron-de.js)?

Ability to disable cron periods

The library allows you to add custom values, but it doesn't appear to be able to remove some of the default periods (e.g., if you we didn't want to have a "minute" granularity). So maybe being able to pass in a "periods" array to define what periods to display.

Invalid initial value error - When using cron format with 1-5 or 1-7 weekday.

My cron string format uses 1-5 or 1-7 for week day part. But looks like not supported in your script.
Example: 15 9 * * 1-5 (which is 9:15 every day from Monday to Friday) is throwing an error: Invalid initial value.

I think this function in your code should be modified to handle 1-5 or 1-7.
If this is possible, could you please help or advise.

`
// check format of initial cron value

    var valid_cron = /^((\d{1,2}|\*)\s){4}(\d{1,2}|\*)$/

    if (typeof cron_str != "string" || !valid_cron.test(cron_str)) {

        $.error("cron: invalid initial value");

        return undefined;

    }`

every hour cron expression not working properly

Hi team,
please verify this.

(quartz scheduler expression for every day 12pm -> 0 0 12 * * ? Fire at 12pm (noon) every day

jquery-cron expression for same every day 12 pm -> 0 12 * * *

note : is it correct expression ? ,
i have passed this expression to quartz scheduler it not working but above one is working fine or i missed something

Quartz cron expression

Hi Shawn Chin,
congratulations for your job. Have you already developed a Quartz cron expression version?
Otherwise think of developing it?
I'd really need it but I could not find anything on the web.

Thanks

Quartz Cron Format

Hi!

I've forked your repository and implemented the same functionality but with the quartz format of cron expressions. If you are interested I can make this an option you can choose which format to use, ie. Unix Cron or Quartz cron.

Let me know if you are interested, check out the modifications at,

https://github.com/felixruponen/jquery-cron

How can I select every 5 minute ?

It look like Jquery-corn didn't support make combination of days i.e. every 10 minute or every 30 minute etc.
Can we achieve this ?
Thanks

Disable tooltip

Hey, great lib! Just a small problem: by default it looks like when i hover over the div that contains the gentleselect options, i get a super-large tooltip that's first entry is "every minute" and then hundred other entries show.
Is it foreseen to disable this or do i need to hack into the source code?

Ability to choose weekdays

A nice to have feature would be that adding a "weekdays" alternative. It would be really helpful. I did search all of the internet ;) but didn't find anything like that.

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.