Yes - there are a couple.
There's a Console - which is basically a Command line interface and can just sit there, or (probably better from your point of view) a Service which has no user interface at all.
A service runs in the background (and doesn't require a user to be logged in to run at all) and can just suspend itself for 30 seconds, update the DB, suspend itself again, and so on.
This should help:
MSDN: "Walkthrough: Creating a Windows Service Application in the Component Designer"[
^]