How is that custom thread triggered currently? At startup? If so, you should be able to trigger your scheduled task (as one time op only) in module startup and have functionality in command. Granted that command will not be useful anywhere else and you are using it only to have something that Scheduler can invoke but it should take care of opening/closing session for you.
-- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=eb651c45-7ca3-48bf-b926-87c054a35d4f ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
