[Python] One time Python script on Heroku

Discussão em 'Python' iniciado por Stack, Maio 6, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to run a python script on Heroku, but I would like to run it only once and stop at the end of the script.

    Right now my script is running endlessly, so at the end of it, it restarts from the beginning.

    How can I stop it at the end of the script ?

    Right now my Procfile look the following:

    web: python ValueAppScript.py
    worker: python ValueAppScript.py

    Continue reading...

Compartilhe esta Página