That also depends. It may be necessary to actively feed a barrier that is being pressed or attacked, but something designed to alert us to the approach of something dangerous should not require any magic beyond that which is used to create it initially.