Fixed a bug in weighin-reminder scheduled task.