Dear Rajesh,
As a workaround You could probably put the Timer inside a container which is included in a Dataview as an example, control the visibility of the container using your attribute, if its visible it will run else it would not.
Thanks,
Sufian.