Background Jobs & Scheduled Tasks

Understand AeroTrack’s automated background processes — AD/SB URL monitoring, inspection due calculations, audit logging, and how to trigger manual checks when needed.

Module: System · 5 steps · admin camo_engineer

Background Jobs Overview
1 What Runs Automatically

AeroTrack performs several automated background tasks to keep compliance data current and alert users to upcoming deadlines:

JobFrequencyWhat It Does
AD/SB URL CheckOn demand / scheduledFetches monitored AD/SB source URLs and detects content changes.
Inspection Due CalcOn flight log approvalRecalculates next-due values for all inspections when aircraft hours/cycles update.
Audit LoggingOn every mutationRecords create/update/delete actions with before/after snapshots.
Session CleanupOn loginValidates active sessions and enforces single-device login per user.
Unlike traditional cron jobs that run on a fixed schedule, most AeroTrack background tasks are event-driven — they execute in response to user actions (flight log approval, data save, etc.) for immediate consistency.
AD/SB URL Monitoring
2 How It Works

When an AD or SB record has Monitoring Enabled and a Source URL pointing to a DGCA, FAA, or EASA web page, the system can check that URL for changes.

The check compares a hash of the current page content with the previously stored hash. If the content has changed, a notification is created with the appropriate severity (CRITICAL or WARNING).

Set up monitoring for all active ADs to stay ahead of revision changes. See AD/SB Monitoring for setup instructions.
3 Run a Manual Check

Navigate to Tech Library → AD/SB → Notifications (/tech-library/ad-sb/notifications) and click the Run Check button to trigger an immediate URL monitoring scan across all monitored AD/SB items.

AD/SB Notifications page with Run Check button to trigger manual URL monitoring scan

The check runs in the background and creates notification records for any detected changes. Refresh the page to see new results.

The Run Check button fetches external URLs. Ensure the server has internet access and the source URLs are reachable. Failed checks are logged but do not create false-positive notifications.
Due Calculations & Auditing
4 Inspection Due Engine

The inspection due calculation engine runs automatically whenever:

TriggerEffect
Flight log approvedUpdates aircraft total hours/cycles, then recalculates remaining margins for all inspections on that aircraft.
Inspection marked doneUpdates the last-done baseline and recalculates the next-due values.
Inspection created/editedCalculates initial next-due values based on intervals and baseline.

Results are visible on the Inspection Schedule matrix and the Inspection Due Report.

Audit Log showing automated calculation events with timestamps and user attribution
5 Audit Trail

Every automated action is logged in the Audit Log at /settings/audit-log. The log records:

FieldDescription
EntityWhich table/record was affected.
ActionCreate, Update, or Delete.
UserWho triggered the action (or “System” for automated tasks).
TimestampExact time of the action.
Before / AfterJSON snapshot of the data before and after the change.
Use the Audit Log filters (entity type, action, date range, search) to investigate specific automated events or verify that background processes are running correctly.