BUG 13508 Plugin Cron is executed even when the plugin is not enabled

Solved by adding two levels of control. First check if the plugin is
active for crrent WS. The second level catches any error in order to not
break cron execution.