Index: openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html,v diff -u -r1.10 -r1.11 --- openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html 27 Oct 2014 16:39:28 -0000 1.10 +++ openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html 7 Aug 2017 23:47:53 -0000 1.11 @@ -1,7 +1,7 @@ -
Put this proc in a file /packages/myfirstpackage/tcl/scheduled-init.tcl
. Files in /tcl with the -init.tcl ending are sourced on server startup. This one executes my_proc every 60 seconds:
ad_schedule_proc 60 myfirstpackage::my_proc +Scheduled Procedures Put this proc in a file
/packages/myfirstpackage/tcl/scheduled-init.tcl
. Files in /tcl with the -init.tcl ending are sourced on server startup. This one executes my_proc every 60 seconds:ad_schedule_proc 60 myfirstpackage::my_procThis executes once a day, at midnight:
ad_schedule_proc \ -schedule_proc ns_schedule_daily \ [list 0 0] \ myfirstpackage::my_proc -See ad_schedule_proc for more information.
View comments on this page at openacs.org +
See ad_schedule_proc for more information.