Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Cronjobs
  • Overview
  • Package
  • Class
  • Todo
  • Download

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, $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 string
# getDateLastExecute( )

Get date of last execution of cronjob

Returns

string
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

Returns

mixed
file_put_contents
public
# setRunTime( integer $timestamp )

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

Parameters

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

Get the last lines of log file

Get the last lines of log file

Parameters

$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

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

# array()
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.7 API documentation generated by ApiGen