Unproductiveness is not same as not doing duties. The product of Karma is not in our hands.
Not doing duties--idleness--is not respected. Below are some examples:
Rishi Bharadwaja to Sauviras king Satrunjaya says:
They that are idle never win affluence; nor they that are destitute of manliness and exertion; nor they that are stained by vanity; nor they that fear unpopularity; nor they that are always procrastinating.
Kripaacharya says to Ashwattama
He, on the other hand, that is idle, never obtains happiness. In this world of men it is generally seen that they that are addicted to action are always inspired by the desire of earning good.
Vidura says to Dhritarastra:
One should not place trust on a woman, a swindler, an idle person, a coward, one that is fierce, one that boasts of his own power, a thief, an ungrateful person, and an atheist.
Draupadi to Yudhistira urging him to act:
The idle, however, never achieveth success. If success, becometh impossible, then should one seek to remove the difficulties that bar his way to success.