Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • areyouahuman
      • auth
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
        • default
      • exchange
        • rates
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • quickbooks
            • invoice
      • json
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • recaptcha
      • reports
        • aging
          • invoices
        • custom
          • report
        • invoice
          • creation
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • form
      • html
      • javascript
      • xml
    • lib
  • None
  • PHP

Classes

  • _404
  • AdminBilling
  • AdminClients
  • AdminClientsService
  • AdminCompanyAutomation
  • AdminCompanyBilling
  • AdminCompanyCurrencies
  • AdminCompanyCustomfields
  • AdminCompanyEmails
  • AdminCompanyGateways
  • AdminCompanyGeneral
  • AdminCompanyGroups
  • AdminCompanyLookandfeel
  • AdminCompanyModules
  • AdminCompanyPlugins
  • AdminCompanyTaxes
  • AdminCompanyThemes
  • AdminDialog
  • AdminLicense
  • AdminLogin
  • AdminLogout
  • AdminMyinfo
  • AdminPackageOptions
  • AdminPackages
  • AdminReports
  • AdminReportsCustomize
  • AdminSearch
  • AdminSettings
  • AdminSystemApi
  • AdminSystemAutomation
  • AdminSystemBackup
  • AdminSystemCompanies
  • AdminSystemGeneral
  • AdminSystemHelp
  • AdminSystemMarketplace
  • AdminSystemStaff
  • AdminSystemUpgrade
  • AdminTests
  • AdminTheme
  • AdminTools
  • AdminUpgrade
  • Api
  • Callback
  • ClientAccounts
  • ClientContacts
  • ClientDialog
  • ClientInvoices
  • ClientLogin
  • ClientLogout
  • ClientMaintenance
  • ClientPay
  • ClientServices
  • ClientTheme
  • ClientTransactions
  • Cron
  • Install
  • Uploads

Class Cron

The Cron controller. Handles all automated tasks that run via a cron job or scheduled task.

Controller
Extended by AppController
Extended by Cron
Package: blesta\app\controllers
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/controllers/cron.php

Methods summary

public
# preAction( )

Pre-action

Pre-action

Overrides

AppController::preAction
public
# index( )

Runs the cron

Runs the cron

Overrides

Controller::index
public
# all( mixed $cron_log_group = null )

Run all cron tasks

Run all cron tasks

public
# createInvoices( string $cron_log_group = null )

Runs the create invoice task

Runs the create invoice task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# applyCredits( string $cron_log_group = null )

Runs the apply credits task

Runs the apply credits task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# autoDebitInvoices( string $cron_log_group = null )

Runs the autodebit invoices task

Runs the autodebit invoices task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# paymentReminders( string $cron_log_group = null )

Runs the payment reminders task

Runs the payment reminders task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# cardExpirationReminders( string $cron_log_group = null )

Runs the card expiration reminder task

Runs the card expiration reminder task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# deliverInvoices( string $cron_log_group = null )

Runs the deliver invoices task

Runs the deliver invoices task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# deliverReports( string $cron_log_group = null )

Runs the deliver reports task

Runs the deliver reports task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# processServiceChanges( string $cron_log_group = null )

Runs the process service changes task

Runs the process service changes task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# processRenewingServices( string $cron_log_group = null )

Runs the process renewing services task

Runs the process renewing services task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# suspendServices( string $cron_log_group = null )

Runs the suspend services task

Runs the suspend services task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# unsuspendServices( string $cron_log_group = null )

Runs the unsuspend services task

Runs the unsuspend services task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# cancelScheduledServices( string $cron_log_group = null )

Runs the cancel scheduled services task

Runs the cancel scheduled services task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# addPaidPendingServices( string $cron_log_group = null )

Runs the add paid pending services task

Runs the add paid pending services task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# updateExchangeRates( string $cron_log_group = null )

Runs the update exchange rates task

Runs the update exchange rates task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# pluginTasks( string $cron_log_group = null )

Runs all plugin tasks

Runs all plugin tasks

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)
public
# cleanLogs( string $cron_log_group = null )

Runs the clean-up logs task

Runs the clean-up logs task

Parameters

$cron_log_group
string
$cron_log_group The cron log group that this event is apart of (optional, default null)

Methods inherited from AppController

__construct(), adminWidgets(), authorized(), clientWidgets(), flashMessage(), getCompany(), getDaysOfWeek(), getMonths(), getTimes(), getWidgets(), isAjax(), isLoggedIn(), isStaffAsClient(), layoutSections(), licenseCheck(), outputAsJson(), postAction(), primeCompany(), renderAjaxWidget(), renderAjaxWidgetIfAsync(), reorderWidgets(), requireLogin(), setDefaultView(), setMaintenance(), setMessage(), setNav(), setNavActive(), setTheme(), setWidgetState(), toggleWidget(), triggerPreAction(), verifyCsrfToken()

Methods inherited from Controller

clearCache(), components(), draw(), emptyCache(), helpers(), partial(), redirect(), render(), set(), setDefaultViewPath(), startCaching(), stopCaching(), uses()

Magic methods summary

Properties summary

Properties inherited from AppController

$admin_uri, $base_uri, $base_url, $client_uri, $company_id, $components, $helpers, $layout, $request_uri, $server_protocol

Properties inherited from Controller

$action, $controller, $files, $get, $is_cli, $plugin, $post, $structure, $structure_view, $uri, $uri_str, $uses, $view

Blesta API documentation generated by ApiGen 2.8.0