idiom
be on duty
Meaning
to be working or responsible for something at a certain time
Example
The guard was **on duty** all night.