Hardcoded table names in scheduled tasks - Fixes #327

Signed-off-by: emanuele <emanuele45@gmail.com>