1.3.3 • Published 2 years ago
parse-server-job-scheduler v1.3.3
Parse Server Job Scheduler
Forked from LcpMarvel/parse-server-jobs-scheduler
Notes
- It's better to use cron jobs instead of using this library.
- You have to handle any concurrency issues. This plugin is run by Parse Server's workers if cluster is true.
- This library REQUIRES Parse cloud code to be set up and functional.
- Parse must be initialized before passing
Parse
to the scheduler.
How to use it?
Install the library
$ npm install parse-server-job-scheduler --save
Add the following lines in your Cloud code main.js file, or in a file included by main.js
try {
var scheduler = require('parse-server-job-scheduler');
scheduler(Parse);
} catch (err) {
console.error("Error: " + err);
console.error("Failed to set up job scheduling!");
}
Disclaimer
Please read the LICENSE.
This library is UNTESTED and is NOT guaranteed to work well, or at all. I am not responsible for anything resulting from the use, or misuse, of this library.
Github issues and pull requests are welcome.
Please email any questions or concerns to the author of this package.