Skip to main content

All Questions

Tagged with
1 vote
1 answer
659 views

Cron task not running

I've configure a cron task for running a NodeJS script everyday. crontab -l # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # ...
guillaumearnx's user avatar
0 votes
0 answers
506 views

Crontab running a Node.js script

I have a script that runs at boot and every 1 min after. This is a nodeJS script that executes a nightmare/cheerio to scrape a cricket site for scores. This script itself runs until killed when ...
Diamond Dave's user avatar
2 votes
1 answer
4k views

how to download partial content from remote video url in nodejs?

I have the following code to download a specific part (range) of a video using nodejs http.get(), const fileUrl = 'https://www.example.com/path/to/video.mp4' const fs = require('fs') const http = ...
ali hadi's user avatar
0 votes
0 answers
18 views

Javascript -- Prey project -- Os: does not exist

I'd been using Prey Project on and off for years, and I just realized it wasn't working. So I'm trying to re-initialize my setup ... Since I'm running Slackware and not Ubuntu, it refuses to run: ...
hymie's user avatar
  • 1,818
0 votes
1 answer
1k views

Is it possible to run programs nodejs in bash?

My question is simple : I have a program written in nodejs and want to run it in an infinite loop in the language bash, is this possible?
D4IVT3's user avatar
  • 1
1 vote
1 answer
7k views

NVM cannot find installed Node binary, PATH problem on Linux Mint 17?

I've successfully installed NVM and Node using official instructions. My .bashrc file contains [ -s "/home/user/.nvm/nvm.sh" ] && . "/home/user/.nvm/nvm.sh" After some time, maybe a day, I ...
Zed's user avatar
  • 111
2 votes
0 answers
1k views

Using node.js and shelljs as interactive shell

Following the answer given at Is there a JavaScript shell? That requires me to always execute var shell=require("/usr/local/lib/node_modules/shelljs"); It seems like node forces execute a script and ...
user877329's user avatar
10 votes
6 answers
19k views

What's the currently recommended way to install node.js on Debian?

I've found a few different methods on the web, but some of the articles are quite old, and I'm concerned that the methods they describe have been superceded. Can anyone tell me what the currently ...
UpTheCreek's user avatar