[mh] eval_with_timer and reloads
Brian M <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
It appears that anytime MH reloads configuration information and user
code, any existing eval_with_timer timers are deleted. In particular,
if I have a task scheduled via the Triggers menu, and that task wants to
spin off sub-tasks using eval_with_timer, those sub-tasks will never
execute because executing any task via Triggers runs a Reload
afterwards. The sequence of events appears to be:
1. Trigger entry runs a task (a piece of user code)
2. Task schedules several sub-tasks using eval_with_timer and exits.
The timing of the sub-tasks varies with each run based on current
conditions, and are not convenient to add directly to the Trigger menu.
3. Trigger processing runs a Reload after the end of the task
4. Sub-tasks are deleted and never execute
Is there a way to use eval_with_timer such that the scheduled item
survives a Reload? Is there another way I should approach this?
-Brian
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users