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.11 -r1.12 --- openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html 7 Aug 2017 23:47:53 -0000 1.11 +++ openacs-4/packages/acs-core-docs/www/tutorial-schedule-procs.html 8 Nov 2017 09:42:12 -0000 1.12 @@ -1,7 +1,14 @@ -
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 -
This executes once a day, at midnight:
ad_schedule_proc \ ++Scheduled Procedures + ++Put this proc in a file
+/packages/
. Files in /tcl with the -init.tcl ending are sourced on server startup. This one executes my_proc every 60 seconds:myfirstpackage
/tcl/scheduled-init.tclad_schedule_proc 60 myfirstpackage::my_proc ++This 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.
See ad_schedule_proc for more information.
+