- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: crontab entry
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО03-03-2009 03:31 AM
тАО03-03-2009 03:31 AM
crontab entry
0 4 * * 0 /usr/sap/POP/SYS/exe/run/startsap
0 6 * * 0 /usr/sap/POP/SYS/exe/run/stopsap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 03:36 AM
тАО03-03-2009 03:36 AM
Re: crontab entry
Yes, it is fine.
No need to change.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 03:44 AM
тАО03-03-2009 03:44 AM
Re: crontab entry
Yes, you need to put it in the right user's crontab. Also please note that both the programs (startsap & stopsap) starts on 4AM and 6AM respectively. I am asuming "stopsap" is the program to stop "startsap"
Good Luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 05:28 AM
тАО03-03-2009 05:28 AM
Re: crontab entry
Also you could redirect the output to some file, so that in case if the script doesnt run fine, its easy to troubleshoot
0 4 * * 0 /usr/sap/POP/SYS/exe/run/startsap > /tmp/startsap.out
0 6 * * 0 /usr/sap/POP/SYS/exe/run/stopsap > /tmp/stopsap.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 05:30 AM
тАО03-03-2009 05:30 AM
Re: crontab entry
In case if the stopsap doesn't stop due to some reasons. Then there would be multiple instance of sap running
If startsap script pop up that SAP is already running then the above script is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 12:42 AM
тАО03-04-2009 12:42 AM
Re: crontab entry
this is fine.
Rgds,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 12:52 AM
тАО03-04-2009 12:52 AM
Re: crontab entry
0 4 * * 0 /usr/sap/POP/SYS/exe/run/startsap > /tmp/startsap.out
0 6 * * 0 /usr/sap/POP/SYS/exe/run/stopsap > /tmp/stopsap.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 01:12 AM
тАО03-04-2009 01:12 AM
Re: crontab entry
0 4 * * 0 /usr/sap/POP/SYS/exe/run/startsap > /tmp/startsap.out
0 6 * * 0 /usr/sap/POP/SYS/exe/run/stopsap > /tmp/stopsap.out
yes its looks fine One thing I wana to tell give 2 >> instead 1 this will track a record of your SAP start and stop log
0 4 * * 0 /usr/sap/POP/SYS/exe/run/startsap >> /tmp/startsap.out
0 6 * * 0 /usr/sap/POP/SYS/exe/run/stopsap >> /tmp/stopsap.out
Suraj