GETLASTSYNCCOMP

datetime GETLASTSYNCCOMP();

Returns datetime of the last received synchronization from a SENDRECVONLY task.
This can be used in context of the Background Synchronization in combination with a timer, that runs the Background Synchronization every xx seconds.