Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • Cronjobs
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Cronjobs

Main class for cronjob overview

Package: Plugin\CronjobOverview
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at plugins/cronjobs_overview/classes/class.cronjobs.php
Methods summary
public
# __construct( array $contenidoVars, mixed $phpFile = '' )
public string
# getFile( )

Return the name of file

Returns

string
filename
public string
# getCronjobDirectory( )

Get the directory path of cronjobs

Returns

string
public string
# getCronlogDirectory( )

Get the directory path of cronlog

Get the directory path of cronlog

Returns

string
public date
# getDateLastExecute( )

Get date of last execution of cronjob

Returns

date
public string,
# getContentsCrontabFile( )

Get the contents of the crontab.txt file

Get the contents of the crontab.txt file

Returns

string,
contents of the file or ''
public mixed
# saveCrontabFile( string $data )

Save the data to crontab.txt file

Parameters

$data
string
$data

Returns

mixed
file_put_contents
public
# setRunTime( integer $timestamp )

Set the execute-time to $this->_phpFile.job file.

Parameters

$timestamp
integer
$timestamp
public string,
# getLastLines( integer $lines = 25 )

Get the last lines of log file

Get the last lines of log file

Parameters

$lines
integer
$lines

Returns

string,
the lines
public boolean
# existFile( )

Exist the file and is it a php file

Exist the file and is it a php file

Returns

boolean
if exist
public
# getAllCronjobs( )

Get all Cronjobs in directory cronjobs from contenido

Properties summary
protected array $_conVars array()
#

All Contenido vars (contenido,lang,cfg,cfgClients ...)

public static string $CRONTAB_FILE 'crontab.txt'
#
public static string $JOB_ENDING '.job'
#
public static string $LOG_ENDING '.log'
#
protected string $_phpFile ''
#
private string $_fileName ''
#

Filename without the mimetype

protected array $_cfg array()
#
protected string $_cronjobDirectory ''
#

Path to the cronjob Directory

Path to the cronjob Directory

protected string $_cronlogDirectory ''
#

Path to the cronlog Directory

Path to the cronlog Directory

CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0