So, I've written a python program that collects data from an api every minute, stores the data in a csv file and then email it every 24 hours using the smtp library. I wrote it using Pycharm and it is running on my laptop. But, I want to know what's the easiest way to run it continuously on a cloud server(I have an azure subscription but any other way works) so that it it keeps collecting data and emailing it to me. I don't have much knowledge about cloud so any help is appreciated.
If you are using Azure I would first deploy your code on Azure serverless
Then set up a scheduler to run the code every n
hours!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.