08-07-2008
When she runs the backup manually, she is just running the same script from the same location. The only thing that is different is that one way is from Cron, and the other is by command line.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a shell script which works fine at the command line
and does works in crontab also but does not send the output to
mail as other scripts do by default.
10 1 * * * /export/home/test/report_script
by default should send the output to mail but the script
runs OK and the output... (1 Reply)
Discussion started by: run_time_error
1 Replies
2. UNIX for Advanced & Expert Users
Hai ,
the working the path and representation of crontab application will differs from flavour to flavour in linux if so will any one plz tell me how it differs . its urgent
:confused:
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
3. Programming
hi all:
->could someone tell how 2 set thread priorities in a prg
-> also how to create multiple dynamic threads..
help me.... (1 Reply)
Discussion started by: bankpro
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
can anybody tell how to get the last crontab if it is deleted.
is there any way to get the crontab back?
or it will it be staored anywhere ?
its very urgent, can anybody help for the same?
Thanks,
Vinay (5 Replies)
Discussion started by: vinayakatj56
5 Replies
5. Virtualization and Cloud Computing
Hi, I have xen on a debian lenny with more then 20 VM. The supermicro
server has a raid10 with a good performance, but I have IO issues when
one VM is making backup, it affects the performance of the other VMs.
I've setup cpus, vcpus, sched-credit between dom0 and domUs as doc
recommended, but... (0 Replies)
Discussion started by: iga3725
0 Replies
6. Shell Programming and Scripting
Hi,
can we set priority to mails which I have sent using mailx?
Is there any options in mailx for that? I am receiving mails on Microsoft Outlook (4 Replies)
Discussion started by: Deei
4 Replies
7. UNIX for Dummies Questions & Answers
I am trying to create a crontab but I keep getting a "bad minute" error.
Here is what I am entering:
*/5****/usr/bin/php/ {path to script}
After I exit the editor and save I get the following message:
crontab: installing new crontab
"/temp/crontab." :-2: bad minute
errors in... (2 Replies)
Discussion started by: fcocnews
2 Replies
8. UNIX for Dummies Questions & Answers
hi,
i have to backup a database everyday on a Sun Microsystem.
i have been looking around and have found that crontab might be the answer.
the list of steps that have to be followed for me to get the database is:
1. on cmd telnet the equipment.
2. put the user name and password.
3. i... (20 Replies)
Discussion started by: vashil
20 Replies
CRONTAB(1) General Commands Manual CRONTAB(1)
NAME
crontab - maintain crontab files for individual users (ISC Cron V4.1)
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 ISC 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 cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not
exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of
these files exists, only the super user will be allowed 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 <vixie@isc.org>
4th Berkeley Distribution 29 December 1993 CRONTAB(1)