10-23-2009
From the look of it, I'd say Debian, or one of it's derivates. If so, the run-parts script goes through the directory /etc/cron.daily on the specified time, and runs all executable files therein. This is very useful for scripts that have to run at this interval (say, logrotation) and do not require any command line options, as you can use an existing script and easily turn it into an automated job. Same for cron.weekly, cron.monthly, ...
Put the backup script into another location (say for example /root/bin) and change your crontab entry accordingly.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Will this be the cron setting if I want to run the script.sh file in every 10 min eveyday?
Can someone pls confirm?
Thanks in advance
C Saha (1 Reply)
Discussion started by: csaha
1 Replies
2. UNIX for Advanced & Expert Users
Guys need some advice on how to check some of the questions below?
i'm running on an open VMS platform... which i am an idiot to...
appreciate if anyone can give some hints or source on how to check on..
a script that is running on cron job... but doesn't run as the login user name..
1. why... (6 Replies)
Discussion started by: 12yearold
6 Replies
3. Shell Programming and Scripting
hi guys
Well, i need to have a report generation script or any script which will show me all the content/information of a file when i run that script.
Please help me on this isssue at the earliest.As i am little bit aware of scripting.Thanks in advance!
regards
ash (4 Replies)
Discussion started by: whizkidash
4 Replies
4. Shell Programming and Scripting
hi all,
please tell me clearly the difference between
exit 1 and exit 2
one more question
i want to know the difference between some basic shells like bsh, csh, ksh, bash.
i refered in net i get wast of text pages can any one give me any link to show the diff precisely or any blogs.... (2 Replies)
Discussion started by: Arunprasad
2 Replies
5. Homework & Coursework Questions
Any help on like where to get started on this? I'm just confused.
1. The problem statement, all variables and given/known data:
Enter text here.Queries to satisfy these two report requests (use your CCI database):
Retrieve all rows of active inventory where current on hands is less than... (0 Replies)
Discussion started by: lakers34kb
0 Replies
6. Shell Programming and Scripting
One of the command output is as below.
-rw-r--r--+ 1 root root 75G Nov 21 16:43 /var/ovs/mount/86BXXX/running_pool/Machine1/System-sda.img
-rw-r--r--+ 1 root root 75G Nov 21 16:36 /var/ovs/mount/86BXXX/running_pool/Machine2/System.img
-rw-r--r--+ 1 root root 150G Sep 23 19:13... (2 Replies)
Discussion started by: pinga123
2 Replies
7. UNIX for Advanced & Expert Users
Is there any way to see how many queries come into our external DNS server? In looking at DNS providers, most of them base pricing on number of queries per month so I just wanted to see if you had any idea/way of gathering that data? A rough ballpark figure would even work.
Our DNS server is... (1 Reply)
Discussion started by: raggmopp
1 Replies
8. Shell Programming and Scripting
Hi Expert,
How to schedule a job on last day of the month.
Need your kind help.
Regards,
PK (3 Replies)
Discussion started by: pkrabi78
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
1) How to get exact permissions, group names for files while transferring with FTP
2) Is there any command to transfer entire directory and sub directories.
Thanks (1 Reply)
Discussion started by: nag_sathi
1 Replies
10. Red Hat
Hi,
I would like to know on one server how many mouting can be done? wheather there is limitation on number of mounting?
wheather it is possible to increase NFS Performance? if yes then which parameters needs to given while mounting? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
LEARN ABOUT REDHAT
crontab
CRONTAB(1) General Commands Manual CRONTAB(1)
NAME
crontab - maintain crontab files for individual users (V3)
SYNOPSIS
crontab [ -u user ] file
crontab [ -u user ] { -l | -r | -e }
DESCRIPTION
Crontab is the program used to install, deinstall or list the tables used to drive the cron(8) daemon in Vixie Cron. Each user can have
their own crontab, and though these are files in /var, they are not intended to be edited directly.
If the allow file exists, then you must be listed therein in order to be allowed to use this command. If the allow file does not exist but
the deny file does exist, then you must not be listed in the deny file in order to use this command. If neither of these files exists,
then depending on site-dependent configuration parameters, only the super user will be allowed to use this command, or all users will be
able to use this command.
If the -u option is given, it specifies the name of the user whose crontab is to be tweaked. If this option is not given, crontab examines
"your" crontab, i.e., the crontab of the person executing the command. Note that su(8) can confuse crontab and that if you are running
inside of su(8) you should always use the -u option for safety's sake.
The first form of this command is used to install a new crontab from some named file or standard input if the pseudo-filename ``-'' is
given.
The -l option causes the current crontab to be displayed on standard output.
The -r option causes the current crontab to be removed.
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit
from the editor, the modified crontab will be installed automatically.
SEE ALSO
crontab(5), cron(8)
FILES
/etc/cron.allow
/etc/cron.deny
STANDARDS
The crontab command conforms to IEEE Std1003.2-1992 (``POSIX''). This new command syntax differs from previous versions of Vixie Cron, as
well as from the classic SVR3 syntax.
DIAGNOSTICS
A fairly informative usage message appears if you run it with a bad command line.
AUTHOR
Paul Vixie <paul@vix.com>
4th Berkeley Distribution 29 December 1993 CRONTAB(1)