How to get the debug print result from a gateway scheduled event

Welcome to the forum, Robert. Please see Wiki - how to post code on this forum.