yum-cron - an interface to convieniently call yum from cron
yum-cron is an alternate interface to yum that is optimised to be convenient to call from cron. It provides methods to keep repository
metadata up to date, and to check for, download, and apply updates. Rather than accepting many different command line arguments, the dif-
ferent functions of yum-cron can be accessed through config files.
config-file is used to optionally specify the path to the configuration file to use. If it is not given, the default configuration file
will be used. It is useful to be able to specify different configuration files for different use cases. For example, one configuration
file might be set to update the repository metadata, and a line could be added to the crontab to run yum-cron frequently using this file.
Then, another configuration file might be set to install updates, and yum-cron could be run from cron using this file just once each day.
See the Authors file included with this program.
There of course aren't any bugs, but if you find any, you should email
the mailing list, firstname.lastname@example.org, or consult bugzilla.
Check Out this Related Man Page
yum-updatesd.conf(5) yum-updatesd configuration file yum-updatesd.conf(5)NAME
yum-updatesd.conf - Configuration file for yum-updatesd(8).
yum-updatesd uses a configuration file at /etc/yum/yum-updatesd.conf.
Additional configuration information is read from the main yum.conf (5) configuration file.
There is one section in the yum-updatesd configuration file, main, which defines all of the global configuration options.
The [main] section must exist for yum-updatesd to do anything. It consists of the following options:
Number of seconds to wait between checks for available updates.
Minimum number of seconds between update information refreshes to avoid hitting the server too often.
List of ways to emit update notification. Valid values are `email', `dbus' and `syslog'.
Boolean option to decide whether or not updates should be automatically applied. Defaults to False.
Boolean option to decide whether or not updates should be automatically downloaded. Defaults to False.
Boolean option to automatically download dependencies of packages which need updating as well. Defaults to False.
List of email addresses to send update notification to. Defaults to `root@localhost'.
Email address for update notifications to be from. Defaults to `yum-updatesd@localhost'.
What syslog facility should be used. Defaults to `DAEMON'.
Level of syslog messages. Defaults to `WARN'.
SEE ALSO yum-updatesd(8)yum.conf(5)Jeremy Katzyum-updatesd.conf(5)
I want to call my users .profile in cron?
I understand that i have to do it explicitly in crontab entry.
How can we do it ? How can i write a simple script calling it?
Thanks & Regards
Abhijeet (15 Replies)
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
I would like to run cron job daily at 8:00 P.M in order to check the filesysem sizes , if if finds any filesystem space reaches to 90% it should me an email address to my outlook ( email@example.com ) .
need your suggestion or direction how to achieve this.
Regards (16 Replies)
I have one script which takes data from table and spools it into a file.
When i am running manually all is fine but while trying same script thru crontab the spooled file is not getting generated..... :confused:
The mail part is working fine....only prob is the spooled file.
Please... (15 Replies)
I am programming a Western Digital ShareSpace network disk system.
I installed a cron from ipkg. (explained here: mybookworld.wikidot.com/sharespace ShareSpace - Hacking WD MyBook World Ed)
/etc $ ps -fe | grep cron
6082 root 616 S < /opt/sbin/cron
18635 root ... (15 Replies)
I have a problem, I wonder if you can help me sort it out:
I have the following entry in the cron:
00 1,13 * * * /home/report/opn_amt_gestores_credito.ksh > opn_amt_gestores_credito.log
But the entry only runs at 01:07
I have stopped the cron deamon, and started, but it still... (39 Replies)
Can some one please look this over for errors? I am trying to run it on cron but it doesn't seem to want to run.
The names have been changed to dummies.
#script to keep location on line chunking. it checks every four hours by #cron to see if it is working.
#if... (14 Replies)
The client wants to set up cronjob for trigger alerts to be sent between the hours of 6 AM PST and 12 AM PST . Could you please help me the command to setup cron.
scriptname :- triggeralert.ksh
Thanks in advance (16 Replies)
How do we stop default cron job emails bein generated in Solaris 10?
All our cron entries are ending with /dev/null 2>&1 but still emails are being generated.
And all these emails are nuisance, as they are also get relayed to our local network sendmail MTA server (for system email... (14 Replies)
I downloaded an external program and extracted all the files to a folder. they have a make file which I have to run. But when I run make file I get an error
g++ -O2 -c pgm.cpp
make: g++: Command not found
make: *** Error 127
When I checked the list of GCC I get this
binf-01... (14 Replies)
Iam using my D-link DNS-320 (NAS) with fun_plug installed (a unix client)
I am currently using cron to run a shellscript running a java-application that creates a couple of txt files.
These files needs to be uploaded to a specific folder on my webhosts ftp server-account.
I need a... (16 Replies)
I'm having an issue getting an expect script to run as a cron job. The script executes fin if I run it from the command line but I get nothing when trying to run it as a cron job. I've researched other forums and threads and there have been references to the environment, or lack... (16 Replies)