Hi All.
I have a script which has to be run periodically. The frequency of its run will be decided by a Database stored value PollRate.
e.g. If PollRate value is 300secs, then the script should be executed every 5 minutes, if it's 1500secs, it should execute every 15 minutes.
Is there... (5 Replies)
Hi Guys,
I have two dates as start date and end date.. i need to generate files within these two dates with time interval of half an hour....
i.e. Start Date=25/09/07 12:00:00
End Date=26/09/07 12:00:00
Now i need to generate files every half an... (0 Replies)
Hi ,
I am working on the following script . I want this script to run and scan the log file repeatedly after 3 hours. This script will run & scan just for the current date logs and after every 3 hours. Kindly advice what to add in this script for this purpose.
#!/bin/sh
diff common.log... (3 Replies)
I am using Solaris 9. I wish to run my script every 1 minute inteval. Though i can run it using below entry in crontab.
* * * * /export/home/username/script/file_exist_&_run.sh
in short above script will check whether a specific file exist in a directory. If it found it will inovke another... (10 Replies)
I have a script I want to run in the background, and I have looked it up but I am not exactly sure how to do. First of all to run it in the background do you have to put something in the script or is it just a command when you go to run it. I found this solution to it but once again I am not to... (2 Replies)
I want to run my shell script for every 15 minutes starting from 12:20AM. I am passing parameter GA to shell script.
Does this work? Any one please comment on this?
20 0-23/15 * * * xyz.sh 'GA' > xyz.log 2>&1 (9 Replies)
Hi Friends,
I am newbie to shell programming and I am stuck trying to accomplish following task.We use Bamboo CI which executes script1 passing parameters. This Main script executes script2 as backend process as part of one of it statements. Task of script2 is to essentially check whether a... (0 Replies)
Hi...
I am very new to shell scripting. I have written a script with help of this forum and some googling and it works the way I want it to. Currently this script checks for my SIP trunk registration every 5 seconds, if registration is not available then it reboots my router through telnet... (4 Replies)
Discussion started by: jeetz
4 Replies
LEARN ABOUT CENTOS
rhnsd
RHNSD(8) Red Hat, Inc. RHNSD(8)NAME
rhnsd - A program for querying the Spacewalk server for updates and information.
SYNOPSIS
rhn_check [options]
DESCRIPTION
rhnsd is a background daemon process that periodically polls the Spacewalk server to see if there are any queued actions available. If any
are queued, rhnsd will execute those actions.
rhnsd is typically started from the initialization (init) scripts in /etc/init.d/rhnsd. when it's time to poll the Spacewalk server for
available updates and actions. The default interval is every 240 minutes. The minimum polling interval is 60 minutes.
To check for updates, rhnsd runs an external program called rhn_check. This is a small application that actually makes the network connec-
tion to Spacewalk.
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.
rhnsd can be configured by editing the /etc/sysconfig/rhn/rhnsd. configuration file. This is actually the configuration file the rhnsd
initialization script /etc/init.d/rhnsd. uses.
OPTIONS -i, --interval
Specify the interval that rhnsd should wait between checking the Spacewalk. Default is 240 minutes, the minimum is 60 minutes. This
can also be specified in /etc/sysconfig/rhn/rhnsd
-f, --foreground
force the rhnsd process to run in the foreground instead of automatically backgrounding itself, as it does by default.
FILES
/etc/sysconfig/rhn/rhnsd
Configuration settings for the rhnsd daemon's initialization script.
SEE ALSO rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5).
AUTHORS
Preston Brown <pbrown@redhat.com>
Cristian Gafton <gafton@redhat.com>
Adrian Likins <alikins@redhat.com>
James Bowes <jbowes@redhat.com>
BUGS
Report bugs to <http://bugzilla.redhat.com>.
COPYRIGHT
Copyright (C) 1999-2006 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Linux 2006 November 13 RHNSD(8)