//app.js var populateDatabase = require("./listen"); setInterval(60 * 1000, populateDatabase); // rest of app setup/start code