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-debug-restore - replay Yum transactions captured in a debug-dump file
yum-debug-restore is a program which takes a gzipped file created by yum-debug-dump and acts on the information about installed packages
GENERAL OPTIONS --output
Output the commands that would be run to stdout.
Output the commands that would be run to a file.
Ask yum to install the latest version of the given packages, instead of the version that was installed in the debug-dump file.
Ignore the architecture of the packages, so you can "restore" an i386 debug-dump on an x86_64 machine.
Only perform the given types of commands, so you can filter to just upgrades and installs.
As yum-debug-restore uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like
which repositories to use. Consult YUM documentation for details:
See the Authors file included with this program.
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: email@example.com. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 15 December 2011 yum-debug-restore(1)
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 ( firstname.lastname@example.org ) .
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)