Overview.
Scheduled Tasks is a component that provides the ability to periodically run time and resource-consuming jobs which have been scheduled to execute at certain intervals.
Tasks List.
There are 8 scheduled tasks available in phpListings:
Name | Interval (minutes) | Description |
---|---|---|
everyminute | 1 | Runs postponed order and pricing synchronization for listings, activates pending and suspended orders on invoice status update, cleans up listing types marked for removal. |
hourly | 60 | Removes expired database cache records. |
daily | 1 day | Removes emails sent more than a month ago. |
1 | Performs scheduled email delivery. The number of emails sent per minute can be configured under "Administrator - Setting - Settings - Email - Queue Rate" | |
counters | 80 | Re-calculates the number of listings per category with latest updates. |
orders | 70 | Generates new invoices for expiring orders, renews or suspends expired orders. |
invoices | 90 | Sends unpaid invoice notifications. |
statistics | 1 day | Compiles daily site usage statistics. |
Failed Tasks Notification.
If the task is unable to finish its work due to the server error it is flagged as "Locked" and is no longer scheduled for execution. A "Failed Tasks" notification appears on the administrator dashboard. You can "Unlock" the task under "Administrator - Settings - Scheduled Tasks" once the error is fixed.