We have released Task Scheduler 3.0.4.0 for OpenCart 3. The module runs tasks on a schedule by cron: downloading files, requesting pages, updating currency rates, sending the error log and tasks of other Ka modules.
What's new in 3.0.4.0
Rewritten schedule calculation. Start After is respected, the end of month is handled, and runs are no longer skipped or repeated. New tasks have no end date by default.
No double runs. The same task cannot run twice when the scheduler is called in parallel.
Security fixes: an SQL injection in the task list sorting is fixed, new installations get a random 32-character key that is compared safely, and cron install, Stop and running tasks without the key now check the administrator's permissions.
ka_cron.php is installed with the module in
admin/controller/extension/ka_extensions/ka_scheduler/, and the CLI command is shown on the settings page.Currency tasks: Refresh Currencies shows why rates are not updated, Update Currencies downloads ECB rates with curl.
Other improvements: Russian language, a tooltip for the priority field, schedule validation in the task form, and fixes in the Download File, Request URL and Stop functions.
Requirements
OpenCart 3.0.0.0 - 3.0.5.x
Ka Extensions library 4.1.1.22 or newer (free)
Product page: Task Scheduler for OpenCart 3
Updating
Upload the new version over the old one; your tasks, settings and key are kept. If your cron command uses the old admin/ka_cron.php, change it to the new path. If you have any questions, feel free to contact us!