K
K
Kir ---2014-12-10 19:06:44
Python
Kir ---, 2014-12-10 19:06:44

Cron vs Python deamon?

What is better to use to periodically clear the database from reserve entries, execute a cron script, or write a Python daemon and run it in screen?
You need to clean it about once a minute.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2014-12-10
@SowingSadness

If you write a daemon, why run it in screen?
In this case, launching by cron looks more logical.

B
bromzh, 2014-12-10
@bromzh

You can use Celery. You can also tie it to frameworks, run it from the web interface. There is also a monitoring panel. Although in a simple case it is better to use crowns.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question