When trying download a complete album iget follwing error:
Exec error
Command: nice -n 20 /usr/bin/7za a -tzip -mx0 -- '/share/MD0_DATA/Web/netju/cache/1/c/1cd3f4f276532ff3a608a0d9b50440a68782e814/eckiuf14qk_c9097c4c222afffca5fb076d470a3d57.zip' @'/share/MD0_DATA/Web/netju/cache/1/c/1cd3f4f276532ff3a608a0d9b50440a68782e814/eckiuf14qk.txt' 2>&1
System output: sh: nice: command not found
System return code: 127
nice-command is installed with coreutils:
[~] # nice --help
Usage: nice [OPTION] [COMMAND [ARG]...]
Run COMMAND with an adjusted niceness, which affects process scheduling.
With no COMMAND, print the current niceness. Nicenesses range from
-20 (most favorable scheduling) to 19 (least favorable).
-n, --adjustment=N add integer N to the niceness (default 10)
--help display this help and exit
--version output version information and exit
NOTE: your shell may have its own version of nice, which usually supersedes
the version described here. Please refer to your shell's documentation
for details about the options it supports.
Report nice bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'nice invocation'
[~] #
Any advice for me ??
regards
error on QNAP TS-239
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: error on QNAP TS-239
nice should be in the default path:
If not it is possible to add the full path to the netjukebox config file.
First find the correct path with:
And use the found value in the config file like:
It is also possible to run netjukebox without nice like:
Good luck,
Willem
Code: Select all
echo $PATH
First find the correct path with:
Code: Select all
find / -name "nice"
Code: Select all
$cfg['bin_dir'] = '/usr/bin/nice -n 20 /usr/bin/';
Code: Select all
$cfg['bin_dir'] = '/usr/bin/';
Willem