1

Running Node.js at boot

view story
linux-howto

http://serverfault.com – I'm trying to run a node.js script at boot using crontab. Here's the command /usr/local/bin/forever -c /usr/local/bin/node start /var/www/html/lights.js >/var/log/lights 2>&1 & At reboot, the cron log says that the command was executed, but the lights log shows this /usr/bin/env: node: No such file or directory Running the command works, just not when cron runs it. (HowTos)