M
M
mercmarcus2020-12-05 15:24:53
Python
mercmarcus, 2020-12-05 15:24:53

How to schedule a python script on Heroku?

I have a parser script on Heroku. Once a day, it starts, parses, sends data to the telegram channel.
I enabled heroku scheduler and configured the start time. But he still asks to drive a team. What is there to write? Here is my Procfile:
bot: python main.py

Is this enough?

heroku run python main.py или просто python main.py?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question