NextExecutionUtc Property
General info
Label |
Next Execution (UTC) |
Description |
Next execution time displayed in UTC. |
Data type |
String |
Type |
Regular |
Code |
5370 |
Symbolic name |
MODEL_PROP_NEXTEXECUTIONUTC |
Lua access code |
syslib.model.properties.NextExecutionUtc |
Available since |
1.52 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_VOLATILE | The property exists during runtime of the service only and is not saved to the image. |
| PROP_PERSISTABLE | The value is persisted and searchable via SQL Catalog. |
Examples
Read from or write to the NextExecutionUtc property.
-- Read from the NextExecutionUtc
syslib.getvalue("<OBJECT FULL PATH>.ScheduledObjectState.NextExecutionUtc")
-- Write to the NextExecutionUtc
syslib.setvalue("<OBJECT FULL PATH>.ScheduledObjectState.NextExecutionUtc", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the NextExecutionUtc
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ScheduledObjectState.NextExecutionUtc"));
// Write to the NextExecutionUtc
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.ScheduledObjectState.NextExecutionUtc"));