Skip to main content

Background jobs

A reference for the main Qubix background jobs: what each one does and how often it runs. The jobs are named the way the Services and jobs screen shows them, and laid out in the same areas in the same order. The full list of your server's jobs is on the screen itself: there you also find their current state, the run history and the manual run button.

The interval in the tables is the default value. An administrator can change it on the job's page, and the screen then shows the new value. The exceptions are "Push sending" and "Scripts": they run strictly once a minute by the clock, and their interval does not change.

Monitoring​

JobIntervalWhat it does
Host self-monitor5 minutesWatches disk, memory, swap and load; warns in Telegram when a threshold is crossed — see Host resources
Data freshness watch15 minutesWarns when the ad statistics stop arriving
Telegram bot watch5 minutesChecks that the Telegram bot keeps receiving updates

Advertising​

JobIntervalWhat it does
Proxy recheck5 minutesRe-tests proxies previously marked dead and revives the ones that answer
Creative fingerprint repair1 hourRepairs creative fingerprints that failed to compute
Britva rule engine3 minutesRuns the Britva rules over live campaign stats and applies their verdicts
Page posts sync6 hoursPulls posts of connected Facebook pages
Facebook profile parsing30 minutesCollects ad-account and campaign statistics from Facebook. The time of each run is shifted at random, by up to a fifth of the interval either way; the interval cannot be set below 20 minutes
JobIntervalWhat it does
Yandex Direct sync1 minuteReads each connected Yandex Direct account when its own interval comes due — see Yandex Direct sync

Data​

JobIntervalWhat it does
Country time offsets6 hoursRefreshes the countries' local-time offsets, so that the geo breakdown by time of day follows each country's real clock, including after a clock change
Geo and cloaking databases1 hourDownloads fresh geo and cloaking databases. Once an hour the job checks whether it is time to update: the frequency and the manual mode are set on the "Geo and cloak databases" tab — see System
Documentation search index1 hourPulls the documentation search index. Once an hour the job checks whether it is time to update: the frequency and the manual mode are set on the "Documentation" tab — see Documentation index
Ads from source links10 minutesRegisters the campaigns, ad groups and ads that a traffic source without an import of its own names in the links of its clicks — see Creating a source

Domains and sites​

JobIntervalWhat it does
Name server propagation check5 minutesChecks whether the domain name servers have propagated
Domain delegation watch1 hourReports domains whose delegation no longer matches the registry
Namecheap domain sync1 day, and right after an updateTakes the paid-until date and auto-renew of domains bought through Qubix from Namecheap
VirusTotal domain check4 hoursChecks domains for malware verdicts before the ad networks do
Unknown pixel check10 minutesLooks for traffic arriving on pixels no site declares
Site previews10 minutesRenders preview images for sites that have none
Nginx configuration sync1 minuteKeeps the nginx configuration in step with the domain registry
Domain serving mode backfill15 minutesFills in the serving mode for domains that lack it

Push​

JobIntervalWhat it does
Push sending1 minuteSends scheduled push campaigns to subscribers
Push event triggers1 minuteFires event-driven push messages
Push cleanup24 hoursDrops expired subscriptions and finished campaigns

AI​

JobIntervalWhat it does
Vector work queue1 minuteWorks through the queue of vectors to compute for search by meaning
Drive page vectors5 minutesPasses changed Drive pages to the queue for computing vectors
Creative themes30 minutesGroups creatives that look alike into themes
Vector rights sync5 minutesKeeps the access rights to the search vectors in line with the rights in the database
Vector store move5 minutesMoves the search-by-meaning vectors from the database into a separate vector store; until the move is finished, search by meaning answers that the vectors are being moved
MCP catalog search index1 hourRebuilds the search index over the MCP tool catalog
Creative vectors1 minuteBuilds creative vectors from the images themselves, on this server

Money​

JobIntervalWhat it does
TRC20 wallet check3 hoursWatches the TRC20 wallet for incoming deposits
Traffic source postback1 minuteSends conversions back to the traffic source that asked for them

Housekeeping​

JobIntervalWhat it does
Database service-log cleanup1 hourTrims the database's service logs so they do not eat the disk
Storage cleanup24 hoursFrees disk space: deletes data past its retention period and the leftovers of records already deleted — see Storage and cleanup
Deleted ctx.state keys cleanup24 hoursRemoves the leftovers of deleted ctx.state keys of scripts, Britva rules and site pages, and of the shared state store, once they are older than a week

Automation​

JobIntervalWhat it does
Scripts1 minuteRuns the JavaScript scripts on their schedules
note

Once a minute the "Scripts" job checks the schedules and runs those of your user scripts whose time has come.

What's next​