Thank you both!
Both commands work, now I just have to get familiar with Grafana.....

Thanks


*Adam Driver*
*Lead IBM i Engineer*


1250 Techny Road
Northbrook, IL 60062
Cell: 224.250.9049

---------------------------------------------------

This is what I use:


SBMJOB CMD(JAVA CLASS('/home/prometheus/prom-client-ibmi.jar'))
JOB(PROMCLIENT) JOBQ(QUSRNOMAX)

This in turn starts two jobs.

That command is done from WRKJOBSCDE

We have the advanced job scheduler, but I use the old one to keep advanced
users responsible for the WRKJOBJS stuff out of system stuff?.Security by
obscurity in this case??


--
Jim Oberholtzer
Agile Technology Architects




On May 5, 2026, at 7:23?AM, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

Not sure if Jim's would be much different:

SBMJOB CMD(QSH CMD('cd /DIR_WHERE_U_PUT_IT/prometheus-exporter-jdbc &&
java -jar prom-client-ibmi.jar')) JOB(PROMETHEUS) JOBQ(QSYSNOMAX)
USER(TECH_USER)


This would be a good spot for utilizing QSHONi as well.

Bryan

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2026 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.