I failed completely in just one behavior: cutting back my time on the Internet.

My initial commitment was to limit my online life to checking email just three times a day: When I woke up, at lunchtime and before I went home at the end of the day. On the first day, I succeeded until midmorning, and then completely broke down. I was like a sugar addict trying to resist a cupcake while working in a bakery.

What broke my resolve that first morning was the feeling that I absolutely had to send someone an email about an urgent issue. If I just wrote it and pushed “Send,” I told myself, then I wasn’t really going online.

What I failed to take into account was that new emails would download into my inbox while I wrote my own. None of them required an immediate reply, and yet I found it impossible to resist peeking at the first new message that carried an enticing subject line. And the second. And the third.

In a matter of moments, I was back in a self-reinforcing cycle. By the next day, I had given up trying to cut back my digital life. I turned instead to the simpler task of resisting diet soda, alcohol and sugar.

Even so, I was determined to revisit my Internet challenge. Several weeks after my 30-day experiment ended, I left town for a monthlong vacation. Here was an opportunity to focus my limited willpower on a single goal: liberating myself from the Internet in an attempt to regain control of my attention.

I had already taken the first step in my recovery: admitting my powerlessness to disconnect. Now it was time to detox. I interpreted the traditional second step — belief that a higher power could help restore my sanity — in a more secular way. The higher power became my 30-year-old daughter, who disconnected my phone and laptop from both my email and the Web. Unburdened by much technological knowledge, I had no idea how to reconnect either one.

I did leave myself reachable by text. In retrospect, I was holding on to a digital life raft. Only a handful of people in my life communicate with me by text. Because I was on vacation, they were largely members of my family, and the texts were mostly about where to meet up at various points during the day.