about this part of the database cronjob: * /usr/bin/nice Platonides wrote: It's nice program. I see here a /bin/nice but not a /usr/bin/nice Comment: a. May I conclude that you can't be sure "nice" is on your systemin that case the line should be deleted, and all of its's argument as wellHow should the command look like in that case?b. Or that the line is wrong?Just changing it to /bin/nice would be enoughc. Or that the line is dependent of your system?And, if the last is true:How should anyone be able to check that?Rein
Rein wrote:
about this part of the database cronjob:
- /usr/bin/nice Platonides wrote:
It's nice program. I see here a /bin/nice but not a /usr/bin/nice Comment: a. May I conclude that you can't be sure "nice" is on your systemin that case the line should be deleted, and all of its's argument as wellHow should the command look like in that case?b. Or that the line is wrong?Just changing it to /bin/nice would be enoughc. Or that the line is dependent of your system?And, if the last is true:How should anyone be able to check that?Rein
It means that it's not in /usr/bin/nice in all systems, although all unices should have it. Just removing the path should be enough (but running from cron maybe it's not in the path?). If you don't have nice, remove 'nice -n 19' and leave the mysqldump.
mediawiki-l@lists.wikimedia.org