I'm using a script to do an Oracle import under Win2000. It works fine when run manually (dble click), but when I use the Windows tasks scheduler,?the IMP.EXE process hangs.

    Requires Free Membership to View

Make sure that the task is scheduled under the proper user. Each task in the scheduler can run as a different user. Verify that the user is correct. Also make sure that your script sets up your environment correctly. Your session has the environment set up and running the script doesn't produce any problems. However, the tasks in scheduler don't have environment variables so it is up to the script to define them. Make sure that you have ORACLE_HOME, ORACLE_SID, and PATH set correctly.

This was first published in November 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.