logs the execution of a crontask