against the clock
US /əˈɡɛnst ðə klɑk/
UK /əˈɡɛnst ðə klɑk/

1.
doing something in a great hurry, because there is very little time
:
•
We were working against the clock to finish the project before the deadline.
•
The rescue team raced against the clock to find the missing hikers.