Absolute path to .cfg to facilitate scheduling

Scheduled tasks runs from a different directory, so the config file was
not found when using a relative path. Also put path to database in the
config file.