crud makes forms and processes form. It would be useless in cron.

I am not even sure you need cron. I think you just need a backgrund
process

web2py.py -S app -M -N -R script.py

On Jun 21, 2:47 am, Narendran <[email protected]> wrote:
> Hi,
> I have a need to write a cron job that will be doing a lot of db
> inserts/updates. I am right now writing the code using DAL directly.
> But, DAL is not as powerful (I'd like to get exceptions thrown
> automatically if a constraint is violated etc. Right now, DAL returns
> me native DB exceptions.)
> Can I use crud in cron to do the same? On a shallow browse, it looks
> like crud APIs will be doing a lot of exception handling (the sort of
> what I am looking for.) Can someone please advise on this?
>
> --
> Thanks
> Narendran

Reply via email to