Because the work was voluntary it was flexible, time-wise.
⇑ Translate the sentence above by Google ⇑
Prev: He'd been working at the local hostel for the handicapped on a voluntary basis.
Next: He is still involved in voluntary work promoting local enterprise.