Execute Liquiloans Transaction Script
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
824 B

'use strict';
const cron = require('node-cron');
const routineFetchAllInvestors = () => {
cron.schedule(process.env.SCHEDULER_RULE_FETCH_ALL_INVESTOR, () => {
console.log("running scheduler");
// recordingController.callExotelRecording();
})
};
const routineGetInvestmentSummary = () => {
cron.schedule(process.env.SCHEDULER_RULE_INVESTMENT_SUMMARY, () => {
console.log("running scheduler");
// recordingController.callExotelRecording();
})
};
const routineGetTransactionById = () => {
cron.schedule(process.env.SCHEDULER_RULE_TRANS_ID, () => {
console.log("running scheduler");
// recordingController.callExotelRecording();
})
};
module.exports = {
routineFetchAllInvestors,
routineGetInvestmentSummary,
routineGetTransactionById
};

Powered by TurnKey Linux.