Just this week ns_schedule has started to behave oddly. Instead of
running the code one time, as it has for months on end, it now runs the
code twice.

The following is the code that sets up the schedule. This proc is set
to run daily.

-----------
proc daily_okiechef_sweep {} {
.
.
.
}

ns_share daily_okiechef_sweep_scheduled_p
if { ![info exists daily_okiechef_sweep_scheduled_p] } {
    ns_schedule_daily -thread 2 0 daily_okiechef_sweep
    set daily_okiechef_sweep_scheduled_p 1

#    set x [ns_schedule_daily -thread 2 0 daily_okiechef_sweep]
#    ns_unschedule_proc $x
}
----------

I am running aolserver 3.5.2 on a linux box.

Any insights will be appreciated.

Thorpe Mayes


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to