Skip to content

qie.getLastErredTimestamp

Signature: qie.getLastErredTimestamp()

Returns: Long timestamp - the timestamp of the last erred message

Returns the timestamp of the last erred message in milliseconds.

Parameters

None

Example

/* From a scheduled script */
if (qie.getSystemTimeMilliseconds() - qie.getLastErredTimestamp() > (1000 * 60 * 60 * 24)) {
   // It's been over 24 hours since we last got an error. (yay!)
}