duly vs needlessly

duly

adv
  • Regularly; at the proper time. 

  • In a due, fit, or becoming manner; as it ought to be; properly. 

needlessly

adv
  • to a degree or extent beyond what is needed 

  • without need 

  • in a needless manner 

How often have the words duly and needlessly occurred in a corpus of books? (source: Google Ngram Viewer )