I have a php script that populates a database, I would like to use the nice command to not increase server load innecesarily. I have tried several commands without luck:
and so on. All of them show:
ideas? asked 20 Jul '13, 17:52 mecluy |
You've almost got it right, in the 2nd and 3rd examples just omit the quotes and it should work. For the first one you should either wrap the two commands into one script and then nice that or just do your cd first then nice the PHP script (the "cd" doesn't have to be nice'd). answered 20 Jul '13, 22:53 waynek Thanks, works fine! I've tried to include the "cd" because of the error message I was receiving ("No such file or directory").
(21 Jul '13, 09:36)
mecluy
|