Follow ndn::Scheduler API changes

Refs: #4883
Change-Id: I94f9096225a26accbdc9e2dc37462f6d7c6474ef
diff --git a/tools/ndnputfile.cpp b/tools/ndnputfile.cpp
index 2564a60..94fffa2 100644
--- a/tools/ndnputfile.cpp
+++ b/tools/ndnputfile.cpp
@@ -223,7 +223,7 @@
                            bind(&NdnPutFile::onRegisterFailed, this, _1, _2));
 
   if (hasTimeout)
-    m_scheduler.scheduleEvent(timeout, [this] { stopProcess(); });
+    m_scheduler.schedule(timeout, [this] { stopProcess(); });
 
   m_face.processEvents();
 }
@@ -261,7 +261,7 @@
   }
   m_processId = response.getProcessId();
 
-  m_scheduler.scheduleEvent(m_checkPeriod, [this] { startCheckCommand(); });
+  m_scheduler.schedule(m_checkPeriod, [this] { startCheckCommand(); });
 }
 
 void
@@ -409,7 +409,7 @@
     }
   }
 
-  m_scheduler.scheduleEvent(m_checkPeriod, [this] { startCheckCommand(); });
+  m_scheduler.schedule(m_checkPeriod, [this] { startCheckCommand(); });
 }
 
 void