Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.72 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.72 KB

ngx-cron

🕒 User-friendly cron input...

Installation instructions

Install @swimlane/ngx-cron and peers from npm:

npm install @swimlane/ngx-cron @swimlane/ngx-ui --save

Add needed the NgxCronModule package to imports:

import { NgxCronModule } from '@swimlane/ngx-cron';

@NgModule({
  ...
  imports: [NgxCronModule]
  ...
})

Add the ngx-cron component to your page:

<ngx-cron-input [(cron)]="cron" [allowedPeriods]="allowedPeriods" [disabled]="disabled" [allowQuartz]="allowQuartz">
</ngx-cron-input>

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Release

  • Checkout master (git checkout master)
  • Pull master (git pull)
  • Refresh node modules (npm ci)
  • Run tests (npm test)
  • Examine log to determine next version (X.Y.Z)
  • Run git checkout -b release/X.Y.Z
  • Update version in projects/swimlane/ngx-cron/package.json
  • Update changelog in projects/swimlane/ngx-cron/CHANGELOG.md
  • Run git commit -am "(release): X.Y.Z"
  • Run git tag X.Y.Z
  • Run git push origin HEAD --tags
  • Run npm run publish:lib
  • Submit PR

Credits

ngx-cron is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.