- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to schedule run make_tape_recovery
Operating System - HP-UX
1753656
Members
5765
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2007 01:53 PM
тАО10-07-2007 01:53 PM
Hi, experts,
I have created a sh file : recovery.sh,
the permission of this file as shown below :
db1:/home/oraprod/scripts# ll recovery.sh
-rwxrwxrwx 1 root sys 31 Oct 8 09:39 recovery.sh
and the contains of the file :
db1:/home/oraprod/scripts# cat recovery.sh
cd /
make_tape_recovery -AIv
I create crontab by using root permission as shown below :
06 06 * * 1 /home/oraprod/scripts/recovery.sh 2>/tmp/als4.log
the make_tape_recovery is not run, and I get the error in als4.log as shown below :
/home/oraprod/scripts/recovery.sh[2]: make_tape_recovery: not found.
Any idea how to solve this problem ?
I have created a sh file : recovery.sh,
the permission of this file as shown below :
db1:/home/oraprod/scripts# ll recovery.sh
-rwxrwxrwx 1 root sys 31 Oct 8 09:39 recovery.sh
and the contains of the file :
db1:/home/oraprod/scripts# cat recovery.sh
cd /
make_tape_recovery -AIv
I create crontab by using root permission as shown below :
06 06 * * 1 /home/oraprod/scripts/recovery.sh 2>/tmp/als4.log
the make_tape_recovery is not run, and I get the error in als4.log as shown below :
/home/oraprod/scripts/recovery.sh[2]: make_tape_recovery: not found.
Any idea how to solve this problem ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2007 03:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2007 08:13 PM
тАО10-08-2007 08:13 PM
Re: How to schedule run make_tape_recovery
Hi,
for cron jobs you always have to set the complete path of a command, because for example /etc/PATH is only read after login of an user, not when starting a cron job!
Else, as said, you have to define PATH in the script.
Volkmar
for cron jobs you always have to set the complete path of a command, because for example /etc/PATH is only read after login of an user, not when starting a cron job!
Else, as said, you have to define PATH in the script.
Volkmar
*** Say 'Thanks' with Kudos ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2007 12:21 PM
тАО10-09-2007 12:21 PM
Re: How to schedule run make_tape_recovery
Thank you Dennis and Nyga, I managed to schedule run make_tape_recovery by specifying full Path already.
thank you.
thank you.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP