-
what si the meaning of the script below
Hi,
Iam New to scheduling cron jobs could any one explain me what is the actual meaning of the below entry in my crontab.
48 15 * * * ksh /opt/oracle/DBA/rman/shells/rman.sh DBATEST COLD tape 0 dbatest
-r > /opt/oracle/DBA/rman/log/rman_cold_backup.DBATEST.log 2>/opt/oracle/DBA/rma
n/log/rman_cold_backup.DBATEST.err
J Gangadhar
-
everyday at 15:48 run that script.
now you can do man crontab and work out what the format of it is
-
Hi ,
yes you are correct , it executes at hr 15 min 48 but i want to know
what are the other parameters which are specified after shell script
48 15 * * * ksh /opt/oracle/DBA/rman/shells/rman.sh DBATEST COLD tape 0 dbatest
-r > /opt/oracle/DBA/rman/log/rman_cold_backup.DBATEST.log 2>/opt/oracle/DBA/rma
n/log/rman_cold_backup.DBATEST.err
J Gangadhar
-
Originally posted by ganga
but i want to know
what are the other parameters which are specified after shell script
You do not need any parameters to be passwed in crontab if you hardcode parameters in rman.sh, meaning that parms depends on the script and how it was written. So, Open your script and see what are input parameters you will know the parms that needs to be given in crontab for the script.
Reddy,Sam
-
> xxxx put the standard output of the script to file xxxx
2> yyyy put the error output of the script to the file yyyy
Oldstyle (from the birth of Unix) redirection to bypass the terminal.
Joseph R.P. Maloney, CSP,CDP,CCP
'The answer is 42'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|