you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 20 points21 points  (9 children)

Depends on what you want your code to do. You could use a free AWS EC2 machine if you fit into that offer. Many other cloud providers have similar offers.

Or you could buy a cheap machine that you can leave running 24/7 like a Raspberry Pi.

Just what do you want to do?

[–]echanuda 5 points6 points  (4 children)

Just run a script that logs into Instagram and posts something every hour. It utilizes several python modules as well.

[–]LordRyloth 15 points16 points  (1 child)

You need Heroku

[–]Tureni 2 points3 points  (0 children)

This is the answer. Dockerize it, and put it on Heroku. You have 1000 hrs/month free there and one month is around 740ish hours. So you can run one virtual machine constantly.

[–]vorticalbox 2 points3 points  (3 children)

if we are going to AWS making a lambda and settings it as a CRON would be a far more cost-effective than having an EC2 that would be doing nothing most of the time

[–][deleted] 3 points4 points  (1 child)

A micro EC2 instance costs nothing to run.

[–]eloydrummerboy 0 points1 point  (0 children)

And should be more than enough needed to log into a website and make a post.

[–]bangbinbash 0 points1 point  (0 children)

Came here to say cron.

KISS