r/cloudcomputing • u/Radiant-Instance-361 • Jun 07 '23
Running Python File in a VM
Hello, I would like to ask this community if there is any possibility of running a Python script in a VM for free.
The script basically is a bot that prompts you at 20:00 if you want to add credit to a web page and if so it will be done. Therefore, it will only need to run at a specific time of the day.
I have considered an alternative implementation where you can instruct the bot to perform the task at any time during the day. However, I assume that would require the VM to be running continuously, resulting in additional costs. Is that correct? Apologies for my lack of knowledge in this area.
I am also considering purchasing a Raspberry Pi. Which of these three options would be the best implementation?
- Adding credit only at a specific time during the day (VM solution)
- Allowing the user to add credit whenever they want (VM solution)
- Raspberry Pi with either the second or the first implementation
Thanks ;)
View all comments
Show parent comment
1
u/Radiant-Instance-361 Jun 07 '23
The idea, MHougesen, is to implement a bot in Telegram. So, in the best scenario, I will instruct the bot when to add money to the web page. (Only one time a day)
In the worst scenario, the bot will prompt me at a specific time (20:00) if I want to add money to the web page.