add process with no listener

This commit is contained in:
Michael Hobbs committed 2015-04-21 14:33:28 -07:00
1 parent 4ae7af091a
commit 979c1155c2
2 files changed
+8 -1

No files matched your search

+2 -1
View File
@@ -1,2 +1,3 @@
cron: node worker.js
web: node web.js web: node web.js
worker: node web.js worker: node worker.js
+6
View File
@@ -0,0 +1,6 @@
function worker() {
console.log('sleeping for 60 seconds');
setTimeout(worker, 60 * 1000);
}
worker();