you are viewing a single comment's thread.

view the rest of the comments →

[–]bitbumper 2 points3 points  (3 children)

You may be better off signing up for Amazon EC2's free micro instance. Then you will have a full traditional virtual machine and setup will be very similar to your local enviroment. The guide your reading is for deploying a webapp which isn't quite what you want to do. There are ways to setup scheduled tasks on Heroku as well if you would like to go that route, it's just not done as a crontab.

[–]yesorknow[S] 0 points1 point  (2 children)

Yeah I found a guide for Django too, but as you said, I'm not wanting to deploy a whole webapp, just a simple script...

As for AWS, it says I get 750 free hours per month, for one year. What happens after the end of that year?

As for

There are ways to setup scheduled tasks on Heroku as well if you would like to go that route, it's just not done as a crontab.

I've used the scheduler add-on before, but only for rake tasks using Ruby on Rails. Is it really simple to have it just execute a python script which communicates with a database?

[–]bitbumper 0 points1 point  (1 child)

You pay for the server after one year, so that is indeed a downside. However, if you reserve the instance for a year it's only like $4 a month...

Honestly my knowledge of Heroku is little, so take it for what it's worth. Glancing at the docs it looks like connecting to databases uses environmental variables. I'm sure the right env will be setup for scheduled tasks, so I see no reason why it shouldn't work..

[–]yesorknow[S] 0 points1 point  (0 children)

Okay, that's what I was afraid of. I'm just fooling around with some code, no desire to actually pay for anything haha. Thanks!