Temporal-varying failures of nodes in networks