Re: Running a custom code after the server is up

2018-11-02 Thread bill . torcaso . oxfam
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

Re: Running a custom code after the server is up

2018-11-02 Thread PASCUAL Eric
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

Running a custom code after the server is up

2018-11-02 Thread Bartosz Gańcza
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