Hi Dominic,
This is expected behaviour as you mentioned that your cms/admin sleeps in 20 minutes of inactivity. You need to configure your IIS application pool (or Web App in Azure) to be always on. This will solve your problem. Also, have a look at this documentation article regarding the scheduled tasks set up as it relates to your problem as well.