Hello,
I'm having a problem with ns_schedule_proc. I tried writing a simple script
but it didn't run. I've copied the example from the aolserver.com site* into a
file called proc.adp and opened the file in a browser. To save looking up the
link here is the example:
proc dosomething blah {
ns_log Notice "proc with arg '$blah'"
}
ns_schedule_proc 10 dosomething $arg1
I modified it with a harcoded "john" instead of $arg1. The error I get in the
server log is:
invalid command name "dosomething" while executing
"dosomething john"
Other *.adp pages run fine, but for some reason I can't get ns_schedule_proc
to work. What am I doing wrong?
Thanks,
John.
* http://www.aolserver.com/docs/devel/tcl/api/thread.html#ns_schedule_proc
--
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.