I am relatively new to working on the iSeries. In the past (for a previous non-IBMi employer), I've written PHP scripts on a Linux server that would perform ETL functions on a web service and store the data to local SQL server. The PHP script would not require a web server and run from the CLI via cron. In the cronjob, I would call "0 1 * * * /usr/bin/php /opt/scripts/fetchXMLData.php" every morning at 1:00am. I would like to do the same on the iSeries to eliminate the need of building a linux server, but I'm not sure how to call PHP and the script from CLI/PASE; which would eventually be called from WRKJOBSCDE. Can anyone point me in a direction; if this is even possible?

-JA-


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.