Legend of the Green Dragon

Cronjob
in package
Uses IdTrait

Cronjob.

Tags
ORM\Table

(name="cronjob")

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\CronjobRepository")

Table of Contents

$id  : int|null
$command  : string|null
$dateformat  : string|null
$debug  : bool|null
$enabled  : bool|null
$environment  : string|null
$haltdir  : string|null
$mailer  : string|null
$maxruntime  : int|null
$name  : string|null
$output  : string|null
$runas  : string|null
$runonhost  : string|null
$schedule  : string|null
$smtphost  : string|null
$smtppassword  : string|null
$smtpport  : int|null
$smtpsecurity  : string|null
$smtpsender  : string
$smtpsendername  : string|null
$smtpusername  : string|null
getCommand()  : string
Get the value of Command.
getDateformat()  : string
Get the value of Dateformat.
getDebug()  : bool
Get the value of Debug.
getEnabled()  : bool
Get the value of Enabled.
getEnvironment()  : string
Get the value of Environment.
getHaltdir()  : string
Get the value of Haltdir.
getId()  : int|null
getMailer()  : string
Get the value of Mailer.
getMaxruntime()  : int
Get the value of Maxruntime.
getName()  : string|null
Get the value of Name.
getOutput()  : string
Get the value of Output.
getRunas()  : string
Get the value of Runas.
getRunonhost()  : string
Get the value of Runonhost.
getSchedule()  : string
Get the value of Schedule.
getSmtphost()  : string
Get the value of Smtphost.
getSmtppassword()  : string
Get the value of Smtppassword.
getSmtpport()  : int
Get the value of Smtpport.
getSmtpsecurity()  : string
Get the value of Smtpsecurity.
getSmtpsender()  : string
Get the value of Smtpsender.
getSmtpsendername()  : string
Get the value of Smtpsendername.
getSmtpusername()  : string
Get the value of Smtpusername.
setCommand()  : self
Set the value of Command.
setDateformat()  : self
Set the value of Dateformat.
setDebug()  : self
Set the value of Debug.
setEnabled()  : self
Set the value of Enabled.
setEnvironment()  : self
Set the value of Environment.
setHaltdir()  : self
Set the value of Haltdir.
setId()  : mixed
setMailer()  : self
Set the value of Mailer.
setMaxruntime()  : self
Set the value of Maxruntime.
setName()  : self
Set the value of Name.
setOutput()  : self
Set the value of Output.
setRunas()  : self
Set the value of Runas.
setRunonhost()  : self
Set the value of Runonhost.
setSchedule()  : self
Set the value of Schedule.
setSmtphost()  : self
Set the value of Smtphost.
setSmtppassword()  : self
Set the value of Smtppassword.
setSmtpport()  : self
Set the value of Smtpport.
setSmtpsecurity()  : self
Set the value of Smtpsecurity.
setSmtpsender()  : self
Set the value of Smtpsender.
setSmtpsendername()  : self
Set the value of Smtpsendername.
setSmtpusername()  : self
Set the value of Smtpusername.

Properties

$id

protected int|null $id = null
Tags
ORM\Column

(type="integer", options={"unsigned"=true})

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$command

private string|null $command = ''
Tags
ORM\Column

(name="command", type="text", length=65535)

Filter

("StringTrim")

Assert\Length

( min=1, max=65535, allowEmptyString=false )

$dateformat

private string|null $dateformat = 'Y-m-d H:i:s'
Tags
ORM\Column

(name="dateFormat", type="string", length=100, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$debug

private bool|null $debug = false
Tags
ORM\Column

(name="debug", type="boolean", nullable=true)

$enabled

private bool|null $enabled = true
Tags
ORM\Column

(name="enabled", type="boolean", nullable=true)

$environment

private string|null $environment = null
Tags
ORM\Column

(name="environment", type="text", length=65535, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$haltdir

private string|null $haltdir = null
Tags
ORM\Column

(name="haltDir", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$mailer

private string|null $mailer = 'sendmail'
Tags
ORM\Column

(name="mailer", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$maxruntime

private int|null $maxruntime = null
Tags
ORM\Column

(name="maxRuntime", type="integer", nullable=true, options={"unsigned": true})

Assert\Range

( min=0, max=42949672295 )

Assert\DivisibleBy

(1)

$name

private string|null $name = null
Tags
ORM\Column

(name="name", type="string", length=255, unique=true, options={"collation"="utf8_general_ci"})

Filter

("StripTags")

Filter

(filter="Laminas\I18n\Filter\Alnum", options={"allowWhiteSpace": false, "locale": "en_US"})

Assert\Length

( min=1, max=255, allowEmptyString=false )

$output

private string|null $output = null
Tags
ORM\Column

(name="output", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$runas

private string|null $runas = null
Tags
ORM\Column

(name="runAs", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$runonhost

private string|null $runonhost = null
Tags
ORM\Column

(name="runOnHost", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$schedule

private string|null $schedule = ''
Tags
ORM\Column

(name="schedule", type="string", length=255)

Filter

("StringTrim")

Assert\Length

( min=1, max=255, allowEmptyString=false )

$smtphost

private string|null $smtphost = null
Tags
ORM\Column

(name="smtpHost", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$smtppassword

private string|null $smtppassword = null
Tags
ORM\Column

(name="smtpPassword", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$smtpport

private int|null $smtpport = null
Tags
ORM\Column

(name="smtpPort", type="smallint", nullable=true)

Assert\Range

( min=0, max=65535 )

Assert\DivisibleBy

(1)

$smtpsecurity

private string|null $smtpsecurity = null
Tags
ORM\Column

(name="smtpSecurity", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$smtpsender

private string $smtpsender = 'jobby@localhost'
Tags
ORM\Column

(name="smtpSender", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$smtpsendername

private string|null $smtpsendername = 'Jobby'
Tags
ORM\Column

(name="smtpSenderName", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

$smtpusername

private string|null $smtpusername = null
Tags
ORM\Column

(name="smtpUsername", type="string", length=255, nullable=true)

Assert\Length

( min=1, max=255, allowEmptyString=true )

Methods

getCommand()

Get the value of Command.

public getCommand() : string
Return values
string

getDateformat()

Get the value of Dateformat.

public getDateformat() : string
Return values
string

getDebug()

Get the value of Debug.

public getDebug() : bool
Return values
bool

getEnabled()

Get the value of Enabled.

public getEnabled() : bool
Return values
bool

getEnvironment()

Get the value of Environment.

public getEnvironment() : string
Return values
string

getHaltdir()

Get the value of Haltdir.

public getHaltdir() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null

getMailer()

Get the value of Mailer.

public getMailer() : string
Return values
string

getMaxruntime()

Get the value of Maxruntime.

public getMaxruntime() : int
Return values
int

getName()

Get the value of Name.

public getName() : string|null
Return values
string|null

getOutput()

Get the value of Output.

public getOutput() : string
Return values
string

getRunas()

Get the value of Runas.

public getRunas() : string
Return values
string

getRunonhost()

Get the value of Runonhost.

public getRunonhost() : string
Return values
string

getSchedule()

Get the value of Schedule.

public getSchedule() : string
Return values
string

getSmtphost()

Get the value of Smtphost.

public getSmtphost() : string
Return values
string

getSmtppassword()

Get the value of Smtppassword.

public getSmtppassword() : string
Return values
string

getSmtpport()

Get the value of Smtpport.

public getSmtpport() : int
Return values
int

getSmtpsecurity()

Get the value of Smtpsecurity.

public getSmtpsecurity() : string
Return values
string

getSmtpsender()

Get the value of Smtpsender.

public getSmtpsender() : string
Return values
string

getSmtpsendername()

Get the value of Smtpsendername.

public getSmtpsendername() : string
Return values
string

getSmtpusername()

Get the value of Smtpusername.

public getSmtpusername() : string
Return values
string

setCommand()

Set the value of Command.

public setCommand(string $command) : self
Parameters
$command : string
Return values
self

setDateformat()

Set the value of Dateformat.

public setDateformat(string $dateformat) : self
Parameters
$dateformat : string
Return values
self

setDebug()

Set the value of Debug.

public setDebug(bool $debug) : self
Parameters
$debug : bool
Return values
self

setEnabled()

Set the value of Enabled.

public setEnabled(bool $enabled) : self
Parameters
$enabled : bool
Return values
self

setEnvironment()

Set the value of Environment.

public setEnvironment(string $environment) : self
Parameters
$environment : string
Return values
self

setHaltdir()

Set the value of Haltdir.

public setHaltdir(string $haltdir) : self
Parameters
$haltdir : string
Return values
self

setId()

public setId(int|null $id) : mixed
Parameters
$id : int|null
Return values
mixed

setMailer()

Set the value of Mailer.

public setMailer(string $mailer) : self
Parameters
$mailer : string
Return values
self

setMaxruntime()

Set the value of Maxruntime.

public setMaxruntime(int $maxruntime) : self
Parameters
$maxruntime : int
Return values
self

setName()

Set the value of Name.

public setName(string $name) : self
Parameters
$name : string
Return values
self

setOutput()

Set the value of Output.

public setOutput(string $output) : self
Parameters
$output : string
Return values
self

setRunas()

Set the value of Runas.

public setRunas(string $runas) : self
Parameters
$runas : string
Return values
self

setRunonhost()

Set the value of Runonhost.

public setRunonhost(string $runonhost) : self
Parameters
$runonhost : string
Return values
self

setSchedule()

Set the value of Schedule.

public setSchedule(string $schedule) : self
Parameters
$schedule : string
Return values
self

setSmtphost()

Set the value of Smtphost.

public setSmtphost(string $smtphost) : self
Parameters
$smtphost : string
Return values
self

setSmtppassword()

Set the value of Smtppassword.

public setSmtppassword(string $smtppassword) : self
Parameters
$smtppassword : string
Return values
self

setSmtpport()

Set the value of Smtpport.

public setSmtpport(int $smtpport) : self
Parameters
$smtpport : int
Return values
self

setSmtpsecurity()

Set the value of Smtpsecurity.

public setSmtpsecurity(string $smtpsecurity) : self
Parameters
$smtpsecurity : string
Return values
self

setSmtpsender()

Set the value of Smtpsender.

public setSmtpsender(string $smtpsender) : self
Parameters
$smtpsender : string
Return values
self

setSmtpsendername()

Set the value of Smtpsendername.

public setSmtpsendername(string $smtpsendername) : self
Parameters
$smtpsendername : string
Return values
self

setSmtpusername()

Set the value of Smtpusername.

public setSmtpusername(string $smtpusername) : self
Parameters
$smtpusername : string
Return values
self

Search results