I'm new to nodejs and i need to know how to pass the parameter to callback function.
function scheduler(key, cron, callback){
//cron-job-manager
manager.add('key', '* 30 * * * *', callback)
}
function callback(key,cron){
console.log(cron);
}
schdeduler("key", " * * * * *", callback);
Thanks in advance.