             else
                 winston.info("successfully registered with database")
 
-setInterval(register_with_database, 1000*registration_interval_seconds)
 
 # For each commit in each project, re-enter a record in the database.
 

            monitor_snapshot_queue()
            cb()
        (cb) ->
            setInterval(snapshot_active_projects, 10000)
        #(cb) ->
        #    ensure_all_projects_have_a_snapshot(cb)
        #(cb) ->

                    timeout : 30  # should be very fast no matter what.
                    bash    : true
                    env     : {BUP_DIR : bup_active}
                    err_on_exit : false  # if a grep along the way above is empty -- i.e., no file changes, then get a 1 exit code.  STUPID, but yep.
                    cb      : (err, output) ->
                        if err
                            winston.debug("SERIOUS BUG issue: error determining number of modified files for #{project_id}: #{err}")
