Tiink
Tiink is a simple Job Schedule for NodeJS.
Installation:
npm install tiink --save
Usage:
Import the module into your project
const Tiink = require('tiink');
import { Tiink } from 'tiink';
Create a new TeaTime
const manager = new Tiink();
const options = {
hour: 3,
weekday: []
};
manager.addJob('<JOB_NAME>', options, async () => {
});
Specifications:
Methods:
| addJob() | Creates a job in the manager | ✓ |
| stopJob() | Only stops a job in the manager | ✓ |
| deleteJob() | Deletes a job from the manager | ✓ |
| restartJob() | Restarts job in the manager | ✓ |
Options:
| minute | Represents minute in numbers |
| hour | Represents hour in numbers |
| weekday | Represents weekday in numbers |