idiom
be on duty
estar trabajando o ser responsable de algo en un momento determinado
Meaning
to be working or responsible for something at a certain time
Example
The guard was **on duty** all night.
El guardia estuvo de servicio toda la noche.