Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Teckh
  • Order by date
  1. Teckh

    crontab and tnsping

    Thanks p5wizard. I just needed to set the oracle env in the script like you suggested. Cheers.
  2. Teckh

    crontab and tnsping

    I do not have root access to the system. Is there any other way to set up a crontab to run a tnsping? Thanks.
  3. Teckh

    crontab and tnsping

    Hi, I tried using the cron wrapper. I setup a file with the following in it: su - oracle <<eof_su /library/file_transfer/scripts/OraclePing.sh eof_su and used the following in the crontab 5,10,15,20,25,30,35,40,45,50,55,0 * * * * /library/file_transfer/scripts/OraclePing.crn now the script...
  4. Teckh

    crontab and tnsping

    When using su, at least on the command line, it asks for the users password. How does the crontab handle that input request?
  5. Teckh

    crontab and tnsping

    I've run a few more tests and I have found a way around the tnsname I believe. However, there is still a problem as tnsping still fails. The script runs fine outside of crontab so I assume its an environment problem? 08/03/05 19:15:00 - TNS Ping Utility for IBM/AIX RISC System/6000: Version...
  6. Teckh

    crontab and tnsping

    Hi, I am trying to create a script that does a tnsping on an oracle DB every 5 minutes by a crontab. I know my problem relates to the crontab not being able to convert the Oracle service name. In the crontab I have: 5,10,15,20,25,30,35,40,45,50,55,0 * * * *...

Part and Inventory Search

Back
Top