stopafter 30 command arg arg arg...
sudo works similarly:
sudo command arg arg arg...
nice -10 command arg arg arg...
continued...