Boredom also has its benefits. It is important to see boredom as a “call to action” (Svendsen, 1999). Nietzsche suggested that men of rare sensibility value boredom as an impetus to achievement. Boredom can be a catalyst for action. It can provide an opportunity for thought and reflection. It can also be a sign that a task is a waste of time—and thus not worth continuing.
“Alcohol makes other people less tedious, and food less bland, and can help provide what the Greeks called entheos, or the slight buzz of inspiration when reading or writing. The only worthwhile miracle in the New Testament—the transmutation of water into wine during the wedding at Cana—is a tribute to the persistence of Hellenism in an otherwise austere Judaea. The same applies to the seder at Passover, which is obviously modeled on the Platonic symposium: questions are asked (especially of the young) while wine is circulated. No better form of sodality has ever been devised: at Oxford one was positively expected to take wine during tutorials. The tongue must be untied. It's not a coincidence that Omar Khayyam, rebuking and ridiculing the stone-faced Iranian mullahs of his time, pointed to the value of the grape as a mockery of their joyless and sterile regime. Visiting today's Iran, I was delighted to find that citizens made a point of defying the clerical ban on booze, keeping it in their homes for visitors even if they didn't particularly take to it themselves, and bootlegging it with great brio and ingenuity. These small revolutions affirm the human.”
Erich Fromm and other thinkers of critical theory speak of boredom as a common psychological response to industrial society, where people are required to engage in alienated labor. According to Fromm, boredom is "perhaps the most important source of aggression and destructiveness today." For Fromm, the search for thrills and novelty that characterizes consumer culture are not solutions to boredom, but mere distractions from boredom which, he argues, continues unconsciously.[29] Above and beyond taste and character, the universal case of boredom consists in any instance of waiting, as Heidegger noted, such as in line, for someone else to arrive or finish a task, or while one is travelling somewhere. The automobile requires fast reflexes, making its operator busy and hence, perhaps for other reasons as well, making the ride more tedious despite being over sooner.
Boredom is similar to mental fatigue and is caused by repetition and lack of interest in the details of our tasks (such as tasks that require continuous attention, waiting at the airport, prisoners locked in cells). Any experience that is predictable and repetitive becomes boring. In general, too much of the same thing and too little stimulation can cause in its victim an absence of desire and a feeling of entrapment (Toohey, 2012).    
Boreout is a management theory that posits that lack of work, boredom, and consequent lack of satisfaction are a common malaise affecting individuals working in modern organizations, especially in office-based white collar jobs. This theory was first expounded in 2007 in Diagnose Boreout, a book by Peter Werder and Philippe Rothlin, two Swiss business consultants. They claim the absence of meaningful tasks, rather than the presence of stress, is many workers' chief problem.

When the antiproton was discovered … it sent a wave of ennui through the physics community. Not that its discovery was unimportant, but on the basis of Dirac's theory, everybody expected it. — Roger G. Newton, The Truth of Science, 1997 Chauncey and I were keen enough about our aesthetic solution to the ennui of war to try to proselytize others. He organized discussion groups with the crew; I took volunteers to visit landmarks … — Louis Auchincloss, "Atlantic War," in Authors at Sea, ed. Robert Shenk,  1997 The attendant outside was standing on tennis balls, exercising the soles of her feet, her body swaying back and forth with the ennui of jelly. — Edna O'Brien, New Yorker, 17 June 1991 Thus the days of life are consumed, one by one, without an object beyond the present moment; ever flying from the ennui of that, yet carrying it with us … — Thomas Jefferson, in a letter dated 7 Feb. 1787 Thomas Jefferson: Writings,  1984 the kind of ennui that comes from having too much time on one's hands and too little will to find something productive to do