grabbed
Version:
grabs emails and pulls attachments and dumps into a folder.
18 lines (12 loc) • 347 B
JavaScript
// Generated by CoffeeScript 1.6.3
var child_process, path, runChecker;
child_process = require("child_process");
path = require("path");
runChecker = function() {
var cp;
cp = child_process.fork(path.join(process.cwd(), 'lib/grabber.js'));
cp.on("exit", function() {});
return true;
};
runChecker();
setInterval(runChecker, 300000);