Closed vikin91 closed 7 years ago
Controller Cron, method log_cron_usage stores current timestamp in the Preferences, but Preferences are not persistable currently. This results in an erroneous result of get_last_cron_run_in_hours that currently always returns 0.
Cron
log_cron_usage
Preferences
get_last_cron_run_in_hours
Solved with implementing persistable Preferences.
Controller
Cron
, methodlog_cron_usage
stores current timestamp in thePreferences
, but Preferences are not persistable currently. This results in an erroneous result ofget_last_cron_run_in_hours
that currently always returns 0.