I created an ASP.NET application that deploys to Azure.
Every time I want to publish it to Azure, I use an intermediate server for deployment and after testing everything at the stage, I just replace both of them.
But there is a problem, I have some startup tasks that create some scheduled tasks for cron jobs. Thus, these tasks are also copied to the production server from interns, and cron jobs are run twice in production and the second in the formulation stage. But I want them to work only in production and not in production.
How can I prevent this problem with cron duplication? Please give me some advice.
atul
source share