Azure app service executes container continously

I am using the Azcopy tool to copy a storage account to another. But the requirement is that the customer wants the azcopy done via some other Azure service like Azure Runbook but not the Hybrid Runbook. I have used a Docker image with azcopy. I am using Azure App Service with the docker container option. The issue is that the command executes multiple times and also once every 5 mins. How to avoid this. Any suggestions?

Source: Docker Questions