yep. hook up on the _after_insert and do a scheduler.queue_task()

Il giorno venerdì 21 giugno 2013 09:32:11 UTC+2, Apoorve Mohan ha scritto:
>
> Hello All
>
> In my application I have a cron that runs every 5 minutes and performs a 
> task. Basically it checks for a entry in a database table and then performs 
> the task.
> Now I want that whenever there is an entry made in a particular database 
> table a task should be fired automatically (something like event driven 
> tasks: tasks on db inserts). Is it possible to use the web2py scheduler 
> functionality to achieve this process? 
>
> --
> Regards
>
> Apoorve
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to