Cron

cron.

(cron)
Should either be ``except AttributeError:`` (see https://docs.python.org/2/library/functions.html#getattr), or instead avoid invoking exceptions by using the ``default`` argument:
```python
func = getattr(self.plugins[taskdef['plugin_name']], taskdef['method_name'], None)
if func is None:
    # log error, unschedule, continue
```