Skip to main content

Background Tasks

BillaBear has several background tasks that need to be ran in order for BillaBear to operate successfully.

There are multiple ways to run these tasks. One way is to use the scheduler command and the other is to have cronjobs.

Run Scheduler Command

When using the scheduler command all the tasks will run at the schedule defined by BillaBear. You won't need to worry about anything other than keeping the scheduler command running.

The command to run is:

bin/console messenger:consume scheduler_main

Tasks

You can find the background tasks here, each one has it's freqency defined in the documentation.

TaskDescription
Background Generic Taskshandle background generic tasks.
Stripe Complete ImportA command to be used for cronjobs to handle the stripe import.
Expiring Cards First DaySends notifications on first day their card is about to expire
Expiring Cards Day BeforeSends notifications the day before a subscription is to be charged warning of expring cards
Generate InvoicesGenerates for invoices that will expire in the next 5 minutes.
Exchange Rates RefreshRefreshes the exchange rates.
Update CheckChecks for updates.
Payment RetryRetries payments.