Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Classes

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

Class Cron

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

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

public
# index( )

Runs the cron

Runs the cron

public false
# all( string $cron_log_group = null )

Run all cron tasks

Run all cron tasks

Parameters

$cron_log_group
The name of the group associated with the log (optional)

Returns

false
public
# createInvoices( string $cron_log_group = null )

Runs the create invoice task

Runs the create invoice task

Parameters

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

Runs the apply invoice late fees task

Runs the apply invoice late fees task

Parameters

$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
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
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
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
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
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
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
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
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
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
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
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
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
The cron log group that this event is apart of (optional, default null)
public boolean
# pluginTasks( string $cron_log_group = null )

Runs all plugin tasks

Runs all plugin tasks

Parameters

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

Returns

boolean
false to not render a view
public boolean
# moduleTasks( string $cron_log_group = null )

Runs all module tasks

Runs all module tasks

Parameters

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

Returns

boolean
false to not render a view
public
# cleanLogs( string $cron_log_group = null )

Runs the clean-up logs task

Runs the clean-up logs task

Parameters

$cron_log_group
The cron log group that this event is apart of (optional, default null)
Blesta API documentation generated by ApiGen