Ghost/ghost/job-manager
Naz 70b42e3a75 Switched cron validation library to cron-validate
no issue

- Previous library was relyting on try/catch block to check if the expression is valid. Flow control through error catching is not considered a good practice and can effect performance (https://riptutorial.com/javascript/example/5297/avoid-try-catch-in-performance-critical-functions)
2020-11-10 13:33:01 +13:00
..
lib Switched cron validation library to cron-validate 2020-11-10 13:33:01 +13:00
test Switched cron validation library to cron-validate 2020-11-10 13:33:01 +13:00
.eslintrc.js Added new job manager package 2020-08-11 21:17:52 +01:00
index.js Added new job manager package 2020-08-11 21:17:52 +01:00
LICENSE Added new job manager package 2020-08-11 21:17:52 +01:00
package.json Switched cron validation library to cron-validate 2020-11-10 13:33:01 +13:00
README.md Added new job manager package 2020-08-11 21:17:52 +01:00

Job Manager

Install

npm install @tryghost/job-manager --save

or

yarn add @tryghost/job-manager

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2020 Ghost Foundation - Released under the MIT license.