Table of Contents |
---|
Cron Status
This section consists of the following:
- Cron status indicator and last run time.
- Cron Command, which should be set up to run every 5 minutes on the server.
- Run Cron Manually button, for processing the cron tasks manually.
Running the Cron Manually
All cron tasks
The cron may be run manually by clicking the "Run Cron Manually" button under [Settings] > [System] > [Automation], or by accessing the following URL:
https://www.domain.com/path/to/blesta/cron/?cron_key=YOURCRONKEY
Click "Update Cron Key" to see and set the cron key, and replace YOURCRONKEY in the example above with the key displayed.
Select cron tasks
To run only a select cron task access the following URL:
https://www.domain.com/path/to/blesta/cron/TASK/?cron_key=YOURCRONKEY
As of Blesta version 3.6.0, you may also include a company ID (e.g. "1") to run a specific cron task for that company:
https://www.domain.com/path/to/blesta/cron/TASK/?cron_key=YOURCRONKEY&company_id=YOURCOMPANYID
Replace TASK with the task you wish to run, and YOURCRONKEY with your cron key. Optionally, replace YOURCOMPANYID with the integer ID of the company you wish to run the task on.
Task | Description |
---|---|
createInvoices | Create Invoices |
applyCredits | Apply Credits to Invoices |
autoDebitInvoices | Auto Debit Invoices |
cardExpirationReminders | Send Card Expiration Reminders |
deliverInvoices | Deliver Invoices |
deliverReports | Deliver Reports |
addPaidPendingServices | Add Paid Pending Services |
suspendServices | Suspend Services |
unsuspendServices | Unsuspend Services |
cancelScheduledServices | Cancel Services Pending Cancellation |
processRenewingServices | Process Service Renewals |
processServiceChanges | Process Queued Service Changes |
paymentReminders | Send Payment Reminders |
updateExchangeRates | Update Currency Exchange Rates |
pluginTasks | Process Plugin Cron Tasks |
moduleTasks | Process Module Cron Tasks |
cleanLogs | Prune Old Log Data |
Cron Tasks Always Observe Their Schedule
Running a task manually will not force it to run if it has run recently. Tasks may only run with respect to their scheduled run time as set under [Settings] > [Company] > [Automation].