I am trying to run a node script using crontab, but it does not work as I expected (Ubuntu 12.04). In my crontab file I got
*/1 * * * * node /home/me/path/to/script.js > /home/me/path/to/output
This results in an empty string , although this should not be.
When I run node /home/me/path/to/script.js > /home/me/path/to/output , though, manually, everything is going well.
Could you help me with this?
source share