1.0.4 • Published 2 years ago

cronit v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

JS bindings for https://cronit.app API

How to use

Initialize by creating an instance of the Cronit object, with your API Key

let {Cronit} = require('./index'); 
let cronit = new Cronit('12341234-1234-1234-1234-123412341234');

Use the following functions to interact with the API:

let crons = await cronit.listCrons(); 	// list cron jobs 
await cronit.runCron(crons[0].id); 		// run a cron 
await cronit.toggleCron(crons[0].id); 	// enable/disable a cron 
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago