Gitlab runner job status

I’m using gitlab runners on a digital ocean droplet. I set up a cron job to clean up disk space so my CI never crashes because of missing storage space. I currently stop the runner to put any upcoming builds on hold, run a docker prune and restart the runner when it’s done. I was just curious to know if there is a way I could know if the runner is currently executing a job when I try to stop it so I don’t interrupt a build when I try to clean the disk. I couldn’t find such command online. Thanks for the help!