on 07-09-2009 10:02 PM
Hi friend,
Sorry one very small question ..
Can someone tell me how can i run scripts as cron job .. on HP UX.
thanks
ashish
Hi Ashish,
open one telnet session.
crontab -e
then give the periodicity day and time
like below
05 00 * * 1-6 /usr/local/bin/database_backup.sh
and now create the script file with the command or script to execute.
Regards
Ashok Dalai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
type crontab -e set the timing,Day,Month of script then give Path of ur script which it has stored. one very important thing make sure the user and permission of that file or directory from that script will be running.
Thanks
Presu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check out
[http://aplawrence.com/Basics/bbcronbasics.html]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is important to use "crontab -e" command while logged in with proper user.
you will want to start backup with user ora[sid], so, do the same to run crontab command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Check below link:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626124721317956028353475&threadId=39275
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.