Thanks Ned, and what about the case when it may be an unreasonable
interval?
is there any other way of interaction than crontab (eitherway, are
they any example
of this - as I've mentioned I am a complete newbie).

Thx.

On Sep 6, 10:03 pm, Ned Batchelder <[EMAIL PROTECTED]> wrote:
> You're right: making a crontab entry for each user's needs would be
> cumbersome.  But if you have a reasonable minimum interval (say 10
> minutes), then write one cronjob that looks for all of the user's jobs
> that need to be run.  Then you have one crontab entry, and the rest of
> the work is in your Python code.
>
> --Ned.http://nedbatchelder.com
>
>
>
> David wrote:
> > Hey'a I have a newbie question.
>
> > I want to execute an external (lets say python, but can be any)
> > program given a interval set by a user (which would be in the user
> > table). The external program would update the sql database.
>
> > I thought of doing this with a cronjob but as they may be a number of
> > users with a different set intervals, and this can be changed at any
> > time by the user so I don't feel as a cronjob would be seamless.
>
> > How would I go about accomplishing something like this? does anyone
> > have any pointers, tutorials, advise....
>
> > Thanks,
> > D.
>
> --
> Ned Batchelder,http://nedbatchelder.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to