Socket
Book a DemoInstallSign in
Socket

bootstrap-cron-picker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-cron-picker

CronPicker is a javascript library that provides easy to use interface for generating CRON expressions.

1.0.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

CronPicker

CronPicker is a javascript library that provides easy to use interface for generating CRON expressions.

TODO: add preview gif

Features

  • Supports multiple CRON formats: crontab (StandardCronFormatter) and extended format used in Quartz Scheduler (QuartzCronFormatter)
  • Can be initialized with an existing CRON expression

Installation

npm install cron-picker

Using Bower:

bower install cron-picker

Usage

To attach CronPicker to an input field with id #cron-picker:

$('#cron-picker').cronPicker();

You can also initialize CronPicker with existing cron expression. To do that, simply set value of the HTML input before attaching CronPicker.

For advanced usage, you can pass any of the following options:

$('#cron-picker').cronPicker({
        // callback function called each time cron expression is updated
        onCronChanged: function (cron) {
            console.log(cron);
        }
    });

FAQs

Package last updated on 04 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.