Page 1 of 1
Runnining a scheduled routine
Posted: Tue May 26, 2009 11:44 am
by jmestep
What is the best way to run some scheduled code once daily? In Able 5, there was code in the session header to do maintenance, but I can't find what triggers the routines in Able 7.
Thanks
Re: Runnining a scheduled routine
Posted: Tue May 26, 2009 1:20 pm
by nickc
Read
viewtopic.php?f=42&t=9703. Looks like some work is pending around maintenance routines, but Logan gives an outline here about how roll your own automation.
BTW - Never thanked you for digging out API code around alternate SSL domain redirection - so thanks for that

. Wasn't what I needed, but my project is on hold for the time being.
Re: Runnining a scheduled routine
Posted: Thu May 28, 2009 6:31 am
by jmestep
I've looked at that post and it seems that you have to have some kind of script on the server to run the routine? I would like to do it from within the website. I've put code on an admin page and earlier in the scriplet.master and the routine runs fine. I just don't want it running every time someone comes to the site, which I think it might do in the scriplet.master. I've created a class like the one in Able source code MaintenanceWorker.cs, but what triggers that to run? I would like to hook in to the same trigger if possible.
Thanks