Answer the question
In order to leave comments, you need to log in
What is the best way to implement daemon in python?
Task: to implement a simple python script that serves as a connector to the Oracle database, reading data at a certain frequency (once a minute, for example) and then sends this data to the bot in Telegram via the standard API.
Requirement: hosted on a server with 24/7 availability.
Question: how to approach the implementation of this task? CGI? raise using the sockets of the standard Python library, raising the server, for example, through apache2.4 and prescribe all the business logic in the server code?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question