I wrote a monitor service on the iSeries that looks at any IFS location (QNTC shares) and executes a command based on values in a configuration file, very loosely similar to (and considerably less flexible than) crontab. After each polling interval, if the target file existence condition matches the configuration setting, it executes the command. To keep things simple, I usually have my PC processes write a known file (like ready.mkr) in their output location, and use that to trigger the iSeries process. The marker file serves two purposes. It's a semaphore which makes sure that the PC process is done (write ready.mkr last), and it prevents the PC process from running if it already exists. The iSeries job, of course, is responsible for clean-up when it terminates.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.