tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Programs started from cron have a nice value of 2 (not 0)
@ 2007-04-30 18:54 Christopher Knorr
  0 siblings, 0 replies; only message in thread
From: Christopher Knorr @ 2007-04-30 18:54 UTC (permalink / raw)
  To: tru64-unix-managers

QUESTION/PROBLEM:

I have an ES80 with Tru64 Unix V5.1B. I've set up a small shell script
which runs out of cron and, if the script detects that a particular
executable isn't running, it starts it. The script is shown below.

The weird and very problematic thing is that it consistently starts it
with a nice value of 2. I have to "renice" it back to 0.

ANSWER:

Much thanks to Whitney Latta for this response:

You might want to check the queuedefs(4) file (/var/adm/cron/queuedefs)
for a "nice" value which is used for all non-zero uid jobs started by
cron. See the queuedefs(4) man page for details.

As it turns out, the following entry did the trick nicely:

q.0n

regards,

Chris


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-30 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 18:54 SUMMARY: Programs started from cron have a nice value of 2 (not 0) Christopher Knorr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox