Adding Config functions to class - set the interval, the database logging boolean and log only error jobs to database boolean with the config.php