Forum OpenACS Q&A: Re: What is the proper method to schedule a procedure?

Collapse
Posted by Steve Manning on
<blockquote>Also, how do I get it to be automatically scheduled if and when the server is reset or restarted?
</blockquote>

To have a process automatically scheduled on server startup place a call to ad_scheduled_proc in  /packages/mypackage/tcl/mypackage-init.tcl

Take a look at packages/acs-messaging/tcl/acs-messaging-init.tcl for an example.

    - Steve