I have a python script that pulls data from an API, performs some transformations and finally spits out the data in a csv file.
Currently I use windows scheduler to perform this task daily.
I would like to further automate this task and have it sit within an azure environment that will run the script overnight on schedule but also push the results to an azure database.
I already have an azure subscription including a number of databases.
Two approaches I have read about are:
Virtual Machine within azure. Use the windows scheduler within the VM to run the script and push to database
Use azure web apps to run the script and push to database. (no VM needed)
I was hoping someone could recommend the more efficient approach to doing this?