Excerpt | ||
---|---|---|
| ||
Automation displays the last run time, the command to configure a cron task with, and allows the cron to be run manually. |
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.
Configure Automation
Automation consists of specific tasks which are run at a certain time daily, or at a specific interval. The following tasks are available for configuration, and are only able to run if a cron task has been successfully created on the server.
Create Invoice
Renewing services are invoiced through this task, which runs once daily at the time specified.
Auto Debit
Payment accounts selected for auto debit will run to pay off open invoices daily at the time specified.
Payment Reminders
Payment reminders and late notices are sent daily at the time specified.
Apply Payments to Open Invoices
Loose credits are applied to open invoices automatically at the interval selected.
Provision Paid Pending Services
Paid pending services are activated at the interval selected.
Cancel Scheduled Services
Services with future cancellation dates are removed at the interval selected.
Card Expiration Reminders 15th of Month
A reminder will be sent on the 15th of the month for credit cards expiring that month at the time specified.
Deliver Invoices
Invoices that are scheduled for delivery will be sent at the interval selected.
Backups
Backups are scheduled under [System Settings] > [Backup] individually, and this task should run at least as frequently.
Suspend Services
Past due services will be suspended daily at the time specified.
Exchange Rate Updates
Exchange rates will be updated at the interval specified.
Note | ||
---|---|---|
| ||
Many exchange rate services put limitation on the number of requests that may be made to the service each day. To prevent from being blocked by the service it is not recommended to run this more than twice daily. |
Deliver Reports
A/R, Invoice Generation, Tax Liability, and other reports will be delivered daily at the time specified.
Clean up Logs
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 |
Info | ||
---|---|---|
| ||
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] |
...
. |