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
Forums
Discussions
Discussions
Discussions
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
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
08-10-2005 06:27 PM
08-10-2005 06:27 PM
Pl. guide me in this regard.
Regards,
Mehul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 06:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 06:34 PM
08-10-2005 06:34 PM
Re: Cron Job
sorry forgot the attachment.
note that i am here using root user to schedule the job using cron, you can alternatively use the Oracle User itself.
if you need any further hep, let us know.
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 06:41 PM
08-10-2005 06:41 PM
Re: Cron Job
if you need additional help on how to configure or give appropriate permissions for cron, please refer to the following url:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939316
or man crontab
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 07:57 PM
08-10-2005 07:57 PM
Re: Cron Job
# Minue Hour monthday month weekday
30 12 * * * /home/oracle/shutdown.sql 1>/dev/null 2>&1
If /home/oracle/shutdown.sql is a shell script then put code in the begin as,
if [[ $((`date +'%m'`%2)) -ne 0 ]]
then
echo "No need to execute it
exit 0
fi
else put this in a script and execute /home/oracle/shutdown.sql from this script.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 08:24 PM
08-11-2005 08:24 PM
Re: Cron Job
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 08:47 PM
08-11-2005 08:47 PM
Re: Cron Job
The below may help you as well
# 00 00 * * * /usr/local/scripts/cronscript
# | | | | | |
# | | | | | script to run
# | | | | +---------- month
# | | | +------------ day
# | | +-------------- day of the week 0-6, 0 = sunday, 1-5 = mon to fri
# | +----------------- hour of the day 00 to 23
# +-------------------- minute 00 to 59
Rgds,
Himanshu