NETWORKSTelecom Networks

Running Scripts on Heroku

If you ever need to run a script on Heroku, check out this video because I show you exactly how to do that using heroku run.

Need one-on-one help with your project? I can help through my coaching program. Learn more here: https://prettyprinted.com/coaching

Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet

Twitter: https://twitter.com/pretty_printed
Github: https://github.com/prettyprinted

source

atoll logiciel

18 thoughts on “Running Scripts on Heroku

  • This helped me a lot, I didn't find this on forums but in this channel, thank you very much for doing this small explanations that answer that very question someone may have

  • can you add something like os.system("pwd ") inside your flask app

  • How to edit and save file from heroku run as everything I do it, the dyno just restarts and revert back all change

  • Planning to run a script file that alters the CSV files deployed and builds a Deep learning model. Would it be possible to run such scripts on Heroku?

  • Really well done – this is exactly what I was looking for, thank you!!

  • Helpful video. Can I use `heroku run bash` to schedule a script with cron to run once a week, say? Or is there a more direct way of scheduling scripts?

  • Thanks for the video! How do you set it to run automatically in the background as soon as it's deployed?

  • Hello! Beginner here. If I use heroku run does it stop when I shut down my machine? If so, how do I make Heroku run my script for a certain period of time?

  • If you have a website running in the same directory would running a script affect that websites loading or up time or speed?

  • Actually, I'm new to this. Can you please share the proc, deploy, runtime, requirements file ?

Comments are closed.