SneakyDave
Well-known member
I have a forum backup addon that backs up the database and code base at different times set (loosely) by the time that the cron task runs via deferred.php
Users of the addon set the time the crons should run based on what their forum requires, but on every upgrade of the addon, the cron times get recent to the default.
Is the best way to fix this to use an installation/upgrade scrip to save the run_rules from the xf_cron_entry table cron times for the addon's tasks, and restore them, somehow?
Or is that not possible, or is there a better way?
Users of the addon set the time the crons should run based on what their forum requires, but on every upgrade of the addon, the cron times get recent to the default.
Is the best way to fix this to use an installation/upgrade scrip to save the run_rules from the xf_cron_entry table cron times for the addon's tasks, and restore them, somehow?
Or is that not possible, or is there a better way?