mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-21 02:07:23 -04:00
Introduce CodeIgniter Tasks-based job scheduling to support long-running background work (e.g. large CSV imports) without blocking requests. - composer.json/composer.lock: add codeigniter4/tasks (and its dependencies codeigniter4/queue, codeigniter4/settings) to power the task scheduler and settings-backed configuration. - app/Models/JobThrottle.php: new model for job_throttles table, providing exists/save/getAll/delete helpers to rate-limit or throttle job execution per throttle_id. - INSTALL.md: document the three trigger modes (Web default via request-hook processing, Auto via cron/Task Scheduler, Manual via admin UI button), including step-by-step Linux/Mac cron and Windows Task Scheduler setup, and Docker considerations (worker container, supervisor, or cron sidecar) since cron does not run inside a single-process container by default. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>