Would it be possible to start/stop/monitor such a background process
from admin? If so, it would seem to be generically useful and a
powerful compliment to cron. A plug-in perhaps?
On Feb 19, 10:06 am, mdipierro wrote:
> I would not use cron for this. cron starts a job at reguar intervals
> bu
I have done something like this in the past with cron where the script
first checked whether another instance is already running. If an
instance was found to be running the new instance was halted. It may
not be the cleanest way but it allowed me to use what was available on
that system at the ti
I would not use cron for this. cron starts a job at reguar intervals
but in background processing you do know that the previous task was
completed. I would just make a loop that extract a "todo" task from
database queue and sleeps if not task.
You can use cron @reboot to make sure this one task s
I like this, I can simply insert sleep statements to keep it from
being to aggressive with this approach.
Would this be best in system cron?
On Feb 18, 1:31 pm, mdipierro wrote:
> I would run a separate process
>
> web2py.py -S yourapp -M -R yourscript.py
>
> On Feb 18, 1:31 pm, Kevin Bowling w
I would run a separate process
web2py.py -S yourapp -M -R yourscript.py
On Feb 18, 1:31 pm, Kevin Bowling wrote:
> Hello,
>
> I have a screen scraper that I would like to call from web2py. I
> currently have a controller method that calls it and updates data in
> the DAL. The problem is, the n
5 matches
Mail list logo