check file present on scheduled time.
- processing >> first you will get this message.
- true >> file is present on a scheduled time.
- false >> file not present on a scheduled time.
possible values
- processing(initializing time only)
- true
- false
npm install scheduled-file-checker
or npm i scheduled-file-checker
const scheduledFileChecker = require(scheduled-file-checker
);
let checker = scheduledFileChecker(path, * * * * *
);
checker >> true or false;
-
path is mandatory
-
time >>
* * * * *
// every minutes