Everyone enjoys having their efforts appreciated and acknowledged, particularly when it comes naturally and expresses gratitude for a job well done. Praise is a potent motivator that can be used even when things don't work out.
All workers are usually very motivated whenever they are paid their salary whenever they are due. No staff wants to have their pay delayed.