If I understand your situation, you want to run a management command fairly
promptly after Django-server reboot, and not again for the duration of the
server's uptime.
Cron is useful and convenient for repeated tasks. And it can be made to
handle once-and-done tasks, if you keep a bit of stat
behalf
of Bartosz Gańcza
Sent: Friday, November 2, 2018 3:31:38 PM
To: django-users@googlegroups.com
Subject: Running a custom code after the server is up
Hi everyone!
I am somewhat of a Django beginner and I can't seem to find an easy solution to
what I need to do anywhere.
I have a web scrap
Hi everyone!
I am somewhat of a Django beginner and I can't seem to find an easy
solution to what I need to do anywhere.
I have a web scraping code I wish to run in the background automatically
(once) after the server is up and running. I use Docker to fire up the DB
and the web server itself but
3 matches
Mail list logo