How to schedule a Python script on Azure and save outputs to specific folders?

Alejandro Rabinovich 20 Reputation points
2024-12-10T15:54:43.1766667+00:00

Hello experts!

I am relatively new to the programming world (an absolute noob). But have developed a decent python web crawler script that fetches data from external sources and generates csv and pdf outputs.

In my team they use azure and I am required to upload this script to Azure so that it can run at predetermined times and save the output in specific folders that can be accessed by the rest of the team.

I am absolutely clueless on Azure, less than a beginner. Could you please point me to a microsoft learn course that covers these topics? Or point me in the direction of reading material on how to do it?

Thanks in advance.
Kind regards

Azure | Azure Training
0 comments No comments
{count} votes

Answer accepted by question author
  1. Gowtham CP 7,085 Reputation points Volunteer Moderator
    2024-12-11T06:03:37.9033333+00:00

    Hello Alejandro Rabinovich ,

    Thank you for reaching out on the Microsoft Q&A.

    To schedule your Python script on Azure, you can use Azure Functions. Start by creating a Function App with a Python runtime, then set up a Timer Trigger to run your script at specific intervals. If you need to save any output, you can use the Azure Storage SDK to store files in your Azure Storage account. It's a straightforward way to automate tasks and manage outputs efficiently. For more details, check out these resources:

    Azure Functions, Python on Azure, Azure Storage, Create a Function App, Timer Triggers for Azure Functions.

    I hope this helps! If you have any further questions, feel free to ask.

    If the information is useful, please accept the answer and upvote it to assist other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.