Forum OpenACS Development: Re: Scheduling/Unscheduling procedure

Posted by Andrew Piskorski on
Presumably ad_schedule_proc stashes the ns_schedule id somewhere where you can find it, so you should be able to use ns_unschedule_proc to un-schedule it. But I don't think there is any equivalent no ad_unschedule_proc procedure, to clean up the the extra info ad_schedule layers on top of ns_schedule.

Hm, actually, looking at the ad_schedule_proc code, seems it does not save the job id returned by ns_schedule_proc! I think ad_schedule_proc may itself returnt the job id, but that's not terribly useful - it should stick it in an nsv somewhere, where you can view it with the Monitoring package, etc. And we need a matching ad_unschedule_proc.