Skip to content

Files

Latest commit

author
sbzen00
Sep 2, 2024
a19dd73 · Sep 2, 2024

History

History
76 lines (61 loc) · 2.68 KB

README.md

File metadata and controls

76 lines (61 loc) · 2.68 KB

Stand With Ukraine

Quartz/Unix Cron Component - Angular

Angular cron widget built from the ground up using only Bootstrap 4 CSS.

Please check our demo & documentation and the list of issues to see all the things we are working on. Feel free to make comments there.

ng-cron

npm version npm downloads

Getting Started

This is an open source project that builds a cron builder component for Angular applications. It supports Quartz/Unix cron string formats for both input and output. Inspired by this non-angular implementation.

Installation

You can use either the npm or yarn command-line tool to install packages.

npm install --save @sbzen/ng-cron

Display the cron component

You need to import the QuartzCronModule that you want to display by adding the following lines to your ngModule.

import { QuartzCronModule } from '@sbzen/ng-cron';

@NgModule ({
  imports: [QuartzCronModule]
})

Add the cron component into yout template

<quartz-cron></quartz-cron>

Usage & Demo

Main source of API documentation and usage scenarios available here: https://ngcron.emptyui.com/.

Compatibility

The only two required dependencies are Angular and cron-core. The Bootstrap CSS is optional as you can use this component with your own styling. Here is the versions compatibility list:

Ng Cron Angular Bootstrap CSS
0.0.1 7.x.x 4.x.x
1.0.1 11.x.x 4.x.x
2.0.0 14.x.x 4.x.x
15.0.0 15.x.x 4.x.x, 5.x.x
16.0.0 16.x.x 4.x.x, 5.x.x
17.0.0 17.x.x 4.x.x, 5.x.x
18.0.0 18.x.x 4.x.x, 5.x.x