Most manufacturers recommend running the generator for at least 1 hour under load each month (diesel or gas). Several reasons for this:
Drive out moisture
Run fuel through system
Prevents excess carbon deposits
Maintains lubrication
One is always free to do as one wishes.....
FWIW
__________________
|