Forum OpenACS Q&A: Re: When using cronjob - missing ad_conn information

Collapse
Posted by Tom Jackson on

Maybe, but that assumes that ad_conn can figure out what the default should be. I'm suggesting that a package should be designed to work as a service, meaning that something other than a web ui might create content. Shouldn't the calendar package, for instance, allow an application to use the library/tcl api to create cal_items, and query them later, without the need to be mounted somewhere? Maybe we need a generalization of the package instance for unmounted use of a package dm/api.

Collapse
Posted by Cato Kolås on
Thanks for the replies, I guess I will try to set values for ad_conn then so the code thinks its connected.