Concept-wise, the PERIOD object was originally introduced as an new object type that keeps a set of parameters for the "Execute recurring" function in a persistent way so that the parameters can be easily reapplied multiple times without the need of setting them manually again and again. When you perform an "Execute recurring" you can either load recurring parameters by selecting a PERIOD object or just input them manually.
The JSCH is a concept of its own and we never thought about applying the PERIOD concept to JSCH and/or its entries, afaik. Even the parameters are pretty similar a direct mapping between these two concepts might be hard as is.
If you think this might be a useful and beneficial potential enhancement, you could input it as an idea to follow the process.
------------------------------
Product Owner
Broadcom
Austria/Vienna
------------------------------
Original Message:
Sent: Jul 17, 2023 04:06 AM
From: Michael Lowry
Subject: Scheduling periodic tasks
Thanks for the suggestion, @Martin Uferbach. Coincidentally, I had the same idea a few moments ago, just before reading your reply.
UC4.DB_PERF_MON.SCRI
:SET &ExecObj# = "UC4.DB_PERF_MON.MAIN.JOBP":SET &PeriodObj# = "UC4.HOURLY.PERIOD":SET &Queue# = "UC4":PRINT "Starting object &ExecObj# with period &PeriodObj# in queue &Queue# using ACTIVATE_UC_OBJECT.":SET &RunID# = ACTIVATE_UC_OBJECT(&ExecObj#,,,,&PeriodObj#,,&Queue#,,):PRINT "Started task run ID: &RunID#"
This approach requires inserting an additional wrapper SCRI between the JSCH and the task one actually wishes to execute periodically.
Why isn't there a Period tab in the Properties sheet for JSCH tasks?