Skip to content

qie.getLastExecutionTimestamp

Signature: qie.getLastExecutionTimestamp()

Returns: Long timestamp - the timestamp of the last last exeuction of the receiver checking for messages

Returns the timestamp of the last execution of the receiver checking for messages in milliseconds.

Parameters

None

Example

/* From a scheduled script */
if (qie.getSystemTimeMilliseconds() - qie.getLastExecutionTimestamp() > 3600000) {
   // It's been 1 hour since the receiver checked for a message
}