简体   繁体   English

如何使python脚本永远在线运行?

[英]How to make a python script run forever online?

I Have a python script that monitors a website, and I want it to send me a notification when some particular change happens to the website. 我有一个监视网站的python脚本,我希望它在网站发生某些特定更改时向我发送通知。 My question is how can I make that Python script runs for ever in some place else (Not my machine, because I want it to send me a notification even when my machine is off)? 我的问题是如何让Python脚本在其他地方运行(不是我的机器,因为我希望它在我的机器关闭时发送通知)?

I have thought about RDP, but I wanted to have your opinions also. 我考虑过RDP,但我也希望得到你的意见。

(PS: FREE Service if it's possible, otherwise the lowest cost) (PS:如果可能,免费服务,否则成本最低)

Thank you! 谢谢!

I would suggest you to setup AWS EC2 instance with whatever OS you want. 我建议您使用您想要的任何操作系统设置AWS EC2实例。

For beginner, you can get 750 hours of usage for free where you can run your script on. 对于初学者,您可以免费使用750小时,您可以在其中运行脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM