So rhn_check(1)
is the program that queries the Spacewalk server, picking up pending actions, but rhnsd(8)
is the service that runs rhn_check
. I realize now that the "4 hrs" that you mention is the "240 minutes" mentioned in the man page:
$ man rhnsd
RHNSD(8) Red Hat, Inc. RHNSD(8)
NAME
rhnsd - A program for querying the Red Hat Network for updates and
information.
...
DESCRIPTION
...
The rhnsd daemon does not listen on any network ports, nor does it ever
talk to the network directly. Any network activity is done via the
rhn_check utility.
...
OPTIONS
-i, --interval
Specify the interval that rhnsd should wait between checking the
Red Hat Network. Default is 240 minutes, the minimum is 60 min-
utes. This can also be specified in /etc/sysconfig/rhn/rhnsd
...
On my box:
$ cat /etc/redhat-release
CentOS release 5.5 (Final)
$ cat /etc/sysconfig/rhn/rhnsd
INTERVAL=240
As the man page mentions, the minimum is 60 minutes, which seems a tad unreasonable. I guess the best solution is to update /etc/sysconfig/rhn/rhnsd
, setting INTERVAL
to 60
.