04-17-2012
Hi shailesh, thanks for the reply. I did wirte to temp file but nothing written to log file because the script did not run.
If we are passing parameters to a script in cron do we need to use any extra conditions?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all
how to schedule a cron job running on last day of every third month at
12 midnight
will the following work
0 0 30,31 3,6,9,12 * <required file>
thanks (3 Replies)
Discussion started by: matrixmadhan
3 Replies
2. Shell Programming and Scripting
Hello,
I am trying to schedule a job to run every 15 minutes from 7am to 5:30pm. Could someone show me the syntax for this?
Thanks. (1 Reply)
Discussion started by: bestbuyernc
1 Replies
3. Shell Programming and Scripting
Hi Everyone , have a nice day
given below is the line i have added in crontab
* * * * * /Rauf/script2.sh
intended to run this script after every minute , when i run this script manually it runs fine and produces output , but after adding it to crontab ( like given above ) , it doesnt work
... (5 Replies)
Discussion started by: Dastard
5 Replies
4. AIX
Hi. I'm new to AIX and I need to create a crontab entry to run a script every first 5 business days of the month? please help. (2 Replies)
Discussion started by: udelalv
2 Replies
5. Solaris
How to set the crontab entry for every other Friday?
Regards,
Raj (1 Reply)
Discussion started by: rajip23
1 Replies
6. Solaris
Hi,
i need to setup a cronjob that has will execute iostat command from morning to evening time.
for instance the timing has will be like this.
8:00 A.M -- 6:00P.M
how to define this entry in crontab
Regards (3 Replies)
Discussion started by: jaweedak
3 Replies
7. UNIX for Dummies Questions & Answers
What should be the crontab entry for a script:
to run at 3:00 AM EST Sun, Mon, Tue, Wed, Thu, Fri (3 Replies)
Discussion started by: proactiveaditya
3 Replies
8. Solaris
hi
i am new in solaris. i am accessing server through putty. i could not add entry in crontab.
i have given "crontab -e" for add a new entry. It is not coming. what parameter i have to set for getting crontab -e
thanks (1 Reply)
Discussion started by: sunnybee
1 Replies
9. UNIX for Dummies Questions & Answers
Is this the correct entry to touch a file on 6/6 5AM?
00 05 06 06 * touch /support/home/.no_copy Please use next time code tags for your code and data (5 Replies)
Discussion started by: Me XMan
5 Replies
LEARN ABOUT CENTOS
yum-cron
yum-cron(8) yum-cron(8)
NAME
yum-cron - an interface to convieniently call yum from cron
SYNOPSIS
yum-cron [config-file]
DESCRIPTION
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.
FILES
/etc/yum/yum-cron.conf
/etc/yum/yum-cron-hourly.conf
SEE ALSO
yum (8)
AUTHORS
See the Authors file included with this program.
BUGS
There of course aren't any bugs, but if you find any, you should email
the mailing list, yum@lists.baseurl.org, or consult bugzilla.
Nick Jacek yum-cron(8)