Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set up background process in express app

//app.js
var populateDatabase = require("./listen");
setInterval(60 * 1000, populateDatabase);
// rest of app setup/start code
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #background #process #express #app
ADD COMMENT
Topic
Name
9+9 =