are control scripts cached? if so, how to reload them?
Posted: Wed Dec 16, 2009 5:10 am
i'm debugging a control script for my ip camera (foscam fi8908w), but i can't figure out how or when zoneminder reads/reloads the perl module.
i have a module based on one of the foscam scripts on the forum. it works fine--i've loaded the control in the monitor and i can pan and tilt the camera as expected.
however, any subsequent changes i make to the perl module don't seem to get loaded. i've tried switching to another control script and then switching back, and also restarting zoneminder, but zoneminder doesn't seem to pick up my changes. i'm sure of this, because i can deliberately introduce an error into the control script (adding an extra '}', for example), and zoneminder still allows me to control the camera.
so it seems like something is getting cached, but where? and how to empty/reload the cache?
i have a module based on one of the foscam scripts on the forum. it works fine--i've loaded the control in the monitor and i can pan and tilt the camera as expected.
however, any subsequent changes i make to the perl module don't seem to get loaded. i've tried switching to another control script and then switching back, and also restarting zoneminder, but zoneminder doesn't seem to pick up my changes. i'm sure of this, because i can deliberately introduce an error into the control script (adding an extra '}', for example), and zoneminder still allows me to control the camera.
so it seems like something is getting cached, but where? and how to empty/reload the cache?