Background Scheduler
In addition to the real-time on_submit hook, the integration includes a Frappe scheduler job that runs periodically in the background. Its job is to detect and re-process any invoices that:
- Were submitted but not yet filed (i.e.,
is_filedis unchecked) - Failed to reach INCOTEX at the time of submission
The scheduler provides a safety net for high-volume environments or scenarios where the INCOTEX device experiences intermittent availability. It runs silently without user intervention.
To confirm the scheduler is running, check your bench's scheduled jobs via:
bench --site {your-site-name} scheduled-jobs
Last updated 5 days ago
Was this helpful?