Azure Startup Tasks

Cloud 9 speech (Fast Forward to 16:00)

Create a Startup Task  in your .csdef

<WebRole name=”YourWebRoleName”>
     <Startup>
          <Task commandLine=”BatchOrCommandFile.Extension” executionContext=”elevated” taskType=”simple” />
          <Task commandLine=”BatchOrCommandFile2.Extension” executionContext=”elevated” taskType=”simple” />
          <Task commandLine=”BatchOrCommandFile3.Extension” executionContext=”elevated” taskType=”simple” />
     </Startup>
</WebRole>

commandLine = relative path to the local website.

Share on Facebook

Leave a Reply

Your email address will not be published.