Caruso_eu
asked on
[ORACLE]Stored procedure running PHP script
Hello,
i am wondering if anyone have tried something similar. I have a PHP script which is fetching data of website and storing it in oracle. This has to be automated somehow.
So i was wondering if it would be possible to make database procedure and set up a JOB for it and make it run every X time.
I am running this PHP procedure from CMD on windows with following command:
php.exe name_of_script.php parameter1 parameter2
Oracle base 10.0.2 is installed on linux.
Any ideas?
i am wondering if anyone have tried something similar. I have a PHP script which is fetching data of website and storing it in oracle. This has to be automated somehow.
So i was wondering if it would be possible to make database procedure and set up a JOB for it and make it run every X time.
I am running this PHP procedure from CMD on windows with following command:
php.exe name_of_script.php parameter1 parameter2
Oracle base 10.0.2 is installed on linux.
Any ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So its doable? I mean i would probably have to install PHP client on linux if i would want to run it with HOST command from my stored procedure?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok thank you !
http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#ARPLS72260