HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- script scheduled with cron rc=1
Operating System - HP-UX
1835079
Members
3325
Online
110073
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
Forums
Discussions
Discussions
Discussions
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
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
09-20-2004 02:32 AM
09-20-2004 02:32 AM
Hello,
I've following script scheduled
/opt/adm/soe/bin/checkdb > /tmp/checkdb.log 2>&1
Script consists of :
#!/sbin/sh
su - orah70 -c "brconnect -u / -c -f check"
I've rc=1 while script execute normal ; just some warnings
outuput of /tmp/checkdb.log
.
.
BR806I End of BRCONNECT processing: cdofrwuz.chk 2004-09-20 15.08.21
BR280I Time stamp 2004-09-20 15.08.21
BR803I BRCONNECT terminated successfully with warnings
I've following script scheduled
/opt/adm/soe/bin/checkdb > /tmp/checkdb.log 2>&1
Script consists of :
#!/sbin/sh
su - orah70 -c "brconnect -u / -c -f check"
I've rc=1 while script execute normal ; just some warnings
outuput of /tmp/checkdb.log
.
.
BR806I End of BRCONNECT processing: cdofrwuz.chk 2004-09-20 15.08.21
BR280I Time stamp 2004-09-20 15.08.21
BR803I BRCONNECT terminated successfully with warnings
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 04:28 AM
09-20-2004 04:28 AM
Re: script scheduled with cron rc=1
Change your script to this:
#!/sbin/sh
su - orah70 -c "brconnect -u / -c -f check >>/tmp/checkdb.log 2>&1"
mark
#!/sbin/sh
su - orah70 -c "brconnect -u / -c -f check >>/tmp/checkdb.log 2>&1"
mark
the future will be a lot like now, only later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 08:59 PM
09-20-2004 08:59 PM
Re: script scheduled with cron rc=1
Thanks but don't work ; I've following ..
Ambiguous output redirect
Ambiguous output redirect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 09:04 PM
09-20-2004 09:04 PM
Solution
Hi Claudio,
See what you get if you run the command manually
#su - orah80 -c "brconnect -u / -c -f check"
#echo $?
If $? above returns 1, then that's what you are getting in your cron out.. You will need to find out why your brconnect is terminating with warnings.
-Sri
See what you get if you run the command manually
#su - orah80 -c "brconnect -u / -c -f check"
#echo $?
If $? above returns 1, then that's what you are getting in your cron out.. You will need to find out why your brconnect is terminating with warnings.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP