By the hour would be the norm but for quick jobs I do it by the half hour.
However, I usually do such things for favours, kind or non-monetary reward so I wouldn't know what to charge.
I fixed a motor scooter for a side of beef once. I'll take anything of value.
Money is for the elites who like to buy stuff.