This query will find logins with a default db that is not online, and show any job(s) that login owns.
select sp.*, j.*
from sys.server_principals sp
left outer join msdb.dbo.sysjobs j on
j.owner_sid = sp.sid
where
sp.default_database_name not in (select d.name from sys.databases d where d.state_desc = 'ONLINE')
SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.