Hello experts,
I've got a question on cron command.
The scenery is this:
- I need to make the backups on the system where i work
- I can do it myself at late hours, or I can let the Operative System do it for me.
What is my problem? My problem is that the CronTab, aparently didn't... (4 Replies)
I went through man crontab;
minute hour day_of_month month weekday command
To copy a file called mycronjobs into the /var/admn/cron/crontabs
directory, enter the following:
crontab mycronjobs etc
------If I want to put a shell script say abc.ksh in a cronfile and run it... (2 Replies)
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)
Hi All,
Can any one please help in setting up crontab where the crontab entries are in a file say "crontabentries"
How to delete the crontab entries and how to register a file to crontab.
thanks
Satish (1 Reply)
Hi, am able to run manual backup on a client by going to /usr/tivoli/tsm/client/ba/bin and running dsmc incr command.
am running incremental backup.
my question was
1) suppose i want to run automated backup , should i put it in crontab and how to do that?
should i open crontab using crontab -e... (4 Replies)
Can anyone please help me here i am trying to schedule a job in CRON I want to run it every five minutes.
When i try to save getting following error message
OS is HP UNIX
"/var/tmp/aaaa01326" 1 line, 82 characters
*/5 * * * * /home/oracle/run.sh >> /home/oracle/logs/run.log 2>&1
crontab:... (3 Replies)
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)
Hi.
I have scheduled back to back 3 cron jobs in different files..
*/10 * * * * cal
10 10 * * * uptime
10 * * * 1,2 date
This what i have doe.. Now i want to list all these jobs. I have tried jobs -l but it gives the recently scheduled job i,e 10 * * * 1,2 date. How can print all... (5 Replies)
All,
It has been a few years since I've setup a crontab. I honestly cannot remember how to do it. I know there might be threads already available but hoping someone can guide me in setting it up. I would like to run some SAS code on Sunday night. I have SSH Tectia but no other editors. I used... (4 Replies)
I am Not sure why following script is not capturing the counts only when using crontab !! when I run it fromt he command line it is fine ! what is missing here !
#!/usr/bin/ksh
host=`uname -n`
tdate=`date`
userid='dbid/password'
totalevents=`sqlplus -s $userid << -
set timing off
... (1 Reply)
Discussion started by: mrn6430
1 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)