Wait... how long has django.utils.daemonize existed, and why isn't it
documented?
(Wishing I'd known about this 12 months ago...)
On Jun 9, 8:19 am, Tom Evans wrote:
> On Thu, Jun 9, 2011 at 12:50 PM, Sherif Shehab Aldin
>
> wrote:
> > Actually that's what am doing, am saving the files with ti
Alright, I think now I know what to do ;-)
Thanks everyone who tried to help :-)
On Thu, Jun 9, 2011 at 3:14 PM, Shawn Milochik wrote:
> On 06/09/2011 07:50 AM, Sherif Shehab Aldin wrote:
>
>> Actually that's what am doing, am saving the files with timestamp, The
>> question is, do I create a d
On 06/09/2011 07:50 AM, Sherif Shehab Aldin wrote:
Actually that's what am doing, am saving the files with timestamp, The
question is, do I create a daemon to check the dir and process new
files in order, and if that's the best practice, how do I use Django
environment in the daemon so I can im
On Thu, Jun 9, 2011 at 12:50 PM, Sherif Shehab Aldin
wrote:
> Actually that's what am doing, am saving the files with timestamp, The
> question is, do I create a daemon to check the dir and process new files in
> order, and if that's the best practice, how do I use Django environment in
> the daem
Actually that's what am doing, am saving the files with timestamp, The
question is, do I create a daemon to check the dir and process new files in
order, and if that's the best practice, how do I use Django environment in
the daemon so I can import the models??
On Thu, Jun 9, 2011 at 1:46 PM, Sha
Here's one idea:
When you retrieve the files from the remote server, put them in your
local temp directory named with a datestamp.
Then, just ensure you process them in order, and you won't have to worry
about the out-of-order insertions.
--
You received this message because you are subscr
Hi all,
I need your suggestions regarding the following.
I have a Django app, with custom command that runs throw cron and it grabs
files from some servers, those files holds data that needs to be inserted
into Django models. I can't make the Django command to read the files and
insert the data in
7 matches
Mail list logo