Is it possible to automate a code snippet with Python to be run for example every hour? If yes, how it is done?
This code is aimed to be run on Azure server.
Is it possible to automate a code snippet with Python to be run for example every hour? If yes, how it is done?
This code is aimed to be run on Azure server.
According your comments, it seems that your application is hosted on Azure Web Apps. We can leverage web jobs to run background tasks on Azure Web Apps. General steps,
1,Compress your python script into a zip file
2,login on Azure management portal, click WEBJOBS tab in your website dashboard navigation.
3,Click Add to create a web job task, input a name, upload the zip file with your python script, and configure frequency of running the task.

For more information, please refer to Run Background tasks with WebJobs on official site.