I do not have "nice" on my system

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
yhli17
Posts: 1
Joined: Wed May 06, 2009 10:12 pm

I do not have "nice" on my system

Post by yhli17 »

Hi,

I installed DD-WRT v24-sp2 (04/30/09) mini-usb-ftp on my Asus WL500gp v2.
I also installed transmissiond 1.42. When I configure cron for transmission_watchdog,
I can't find "nice" on my system. Anyone give me a clue which package I should install?

Thanks!
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: I do not have "nice" on my system

Post by rb07 »

None, just edit the script that uses it and get rid of it.

More detail: nice is a command that sets a process priority, whoever wrote the script for transmission_watchdog thought that giving a low priority to the process would be "nice" (pun intended), but its not needed, and as you found out not everybody has it (it comes with coreutils in case you really, really have to have it, except like its help says "your shell may have its own version of nice" so you may also get it if you install bash, perhaps zsh, and other shells, AND change the script's first line to use that shell, i.e. #!/bin/bash).
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: I do not have "nice" on my system

Post by Jordan »

That's not very nice.
Post Reply