cipcip
Basic Pleskian
Hello, I am trying to create a cron job from a node-js application.
I am adding my full path : /usr/bin/nodejs /var/www/vhosts/something/parser.js
I get the following output: /usr/bin/nodejs: No such file or directory
If I open my terminal and check the installation using:
1. which node gives me: /usr/local/bin/node
2. which nodejs gives me: /usr/bin/nodejs
I have tried with both of them but I cannot seem to get it work, I get the same output.
Any suggestions ?
Thank you,
Cristian
I am adding my full path : /usr/bin/nodejs /var/www/vhosts/something/parser.js
I get the following output: /usr/bin/nodejs: No such file or directory
If I open my terminal and check the installation using:
1. which node gives me: /usr/local/bin/node
2. which nodejs gives me: /usr/bin/nodejs
I have tried with both of them but I cannot seem to get it work, I get the same output.
Any suggestions ?
Thank you,
Cristian