Folks,

I have the following event:

<event-handler event="deleteArchives" access="public">
<event-arg name="daySpan" value="30" />
<notify listener="appListener" method="deleteFiles" />
</event-handler>

This event runs as a scheduled task in OpenBD and it takes care of deleting
all files that are older than 30 days.  From time to time I need to run this
manually and delete files that are say older than 1 day and not 30.  What I
would love to be able to do is pass in via the URL an overriding "daySpan"
event arg and have MachII ignore the arg that is set in the config file for
this event.  I know I could accomplish this by removing "daySpan" event-arg
from the config file and passing it in all the time in the URL, but I
thought this could be an interesting modification.

Thoughts....

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to