Possible Duplicate:
How to exit in Node.JS
I'm using node.js to import some data in the background and I'll have the script running every other day in the background using cron. I don't need it to listen. How do I exit the node script after it runs? Should I use process.exit() or is there a better way?