Hack :-)

I could do that, but I'd honestly rather do it properly. Also this
nightly is gonna be a lot of code, I'd rather not have it hanging around
in memory when it's not being used.

-Rob

Jorge Godoy wrote:
> Robin Haswell <[EMAIL PROTECTED]> writes:
> 
> 
>>I need an environment like "tg-admin shell" for some cron nightlies that 
>>my app needs to do some heavy processing. I tried digging through the 
>>source but I got lost amongst the dispatchers. Does anyone know how to 
>>do this? All I really need is access to the model :-)
> 
> 
> Do you stop your application at night?  If not, why not writing these tasks as
> part of the application (you don't need links to it), require the correct
> auth, and use something like w3m to automate it?  This is what I've done here
> and it works perfectly.  The nice side effect is that an user with correct
> permissions can also start the process if he knows and types the link. 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to