async.waterfall([
},
function(callback){
console.log("next_result 1")
console.log("scheduleId 1")
functions.ScheduleFeatch(scheduleId);
setTimeout(function() {
callback(null,config.schedule.since_id)
}, 3000);
},
function(scheduleId,callback){
console.log("next_result 2")
console.log("scheduleId 2")
functions.ScheduleFeatch(scheduleId);
setTimeout(function() {
callback(null,config.schedule.since_id)
}, 3000);
}
,
function(scheduleId,callback){
console.log("next_result 3")
console.log("scheduleId 3")
functions.ScheduleFeatch(scheduleId);
setTimeout(function() {
callback(null,config.schedule.since_id)
}, 3000);
}
,
function(scheduleId,callback){
console.log("next_result 4")
console.log("scheduleId 4")
functions.ScheduleFeatch(scheduleId);
setTimeout(function() {
callback(null,config.schedule.since_id)
}, 3000);
}
,
function(scheduleId,callback){
console.log("next_result 5")
console.log("scheduleId 5")
functions.ScheduleFeatch(scheduleId);
setTimeout(function() {
callback(null,config.schedule.since_id)
}, 3000);
}
]
);