• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

query regarding make_recovery

Hi all

Iam  using the following command
make_recovery -A -v -d  /dev/rmt/c3t3d0BESTn  1> /tmp/log

Since I will be uisng crontab to execute this command  I used 1> so that entire output on the screen goes to /tmp/log

But this does not work as desired only the last few lines are stored in the file and rest other information still appears on the screen.

i wanted the entire output on the screen to get stored in the /tmp/log

Sagar

0
sagar24
Asked:
sagar24
1 Solution
 
tfewsterCommented:
put  "2>&1" on the end of the (cron)  command line, so error & warning messages are captured to the log
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now