It is also executed in the Logoff transaction if you logoff directly without executing an End of day.