lunacyfoundme Posted August 24, 2010 Share Posted August 24, 2010 I've been trying to set a php script to run at a given time with Windows Scheduled Tasks and it will work for most scripts including ones that connect with mysql_pconnect to a mysql database. The only one that doesnt work is the one I need to use. It connects to an Oracle database through an ODBC connection. The script itself will work if launched from the browser, but I cannot get it to work from the command line or using a batch file run by Scheduled Tasks. It keeps giving me the TNS: Could not resolve service name error. Any ideas on how to solve this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.