How can I wait for a tx to be mined using relayer.sendTransaction?

Hi @sai thanks for your answer, in the end I ended up using tx.wait() of ethers which should allow me to wait for the mined transaction, but I still don't get the desired outcome (see Autotask issues transactions before the time indicated by the cronjob )