Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
CoreBundle /
Entity /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
BatchJobs.php
7.96
KB
-rwxrwxr-x
2026-04-02 11:48
ErrorLog.php
4.3
KB
-rwxrwxr-x
2026-05-18 12:51
KeyValue.php
2.52
KB
-rwxrwxr-x
2026-05-25 12:28
PickList.php
1.93
KB
-rwxrwxr-x
2026-05-25 12:28
SystemSetting.php
3.65
KB
-rwxrwxr-x
2026-04-02 11:48
SystemSettingGroup.php
3.02
KB
-rwxrwxr-x
2026-04-02 11:48
TempValue.php
3.31
KB
-rwxrwxr-x
2026-05-25 12:28
Save
Rename
<?php namespace App\CoreBundle\Entity; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; /** * BatchJobs * * @ORM\Table(name="batch_jobs", indexes={ * @ORM\Index(name="execution_ended_idx", columns={"execution_ended"}), * @ORM\Index(name="is_locked_idx", columns={"is_locked"}), * @ORM\Index(name="in_progress_idx", columns={"in_progress"}), * @ORM\Index(name="success_idx", columns={"success"}), * @ORM\Index(name="fail_count_idx", columns={"fail_count"}), * @ORM\Index(name="created_at_idx", columns={"created_at"}) * }) * @ORM\Entity(repositoryClass="App\CoreBundle\Repository\BatchJobsRepository") * @ORM\HasLifecycleCallbacks */ class BatchJobs { /** * @ORM\Id * @ORM\Column(type="string", unique=true) * @ORM\GeneratedValue(strategy="CUSTOM") * @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator") */ private $id; /** * @ORM\Column(type="text") */ private $php_script; /** * @ORM\Column(type="string", length=100, nullable=true) */ private $site_host; /** * @ORM\Column(type="datetime", nullable=true) */ private $execution_started; /** * @ORM\Column(type="datetime", nullable=true) */ private $execution_ended; /** * @ORM\Column(type="boolean", options={"default": 0}) */ private $is_locked = 0; /** * @ORM\Column(type="boolean", options={"default": 0}) */ private $in_progress; /** * @ORM\Column(type="boolean", options={"default": 0}) */ private $success; /** * @ORM\Column(type="boolean", options={"default": 0}) */ private $failed; /** * @ORM\Column(type="boolean", options={"default": 0}) */ private $fail_count; /** * @ORM\Column(type="integer", nullable=true, options={"default": 1000}) */ private $job_priority = 1000; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $created_by; /** * @ORM\Column(type="datetime") */ private $created_at; /** * @ORM\Column(type="datetime", nullable=true) */ private $updated_at; /** * Get id * * @return string */ public function getId() { return $this->id; } /** * Set php_script * * @param string $phpScript * @return BatchJobs */ public function setPhpScript($phpScript) { $this->php_script = $phpScript; return $this; } /** * Get php_script * * @return string */ public function getPhpScript() { return $this->php_script; } /** * Set execution_started * * @param \DateTime $executionStarted * @return BatchJobs */ public function setExecutionStarted($executionStarted) { $this->execution_started = $executionStarted; return $this; } /** * Get execution_started * * @return \DateTime */ public function getExecutionStarted() { return $this->execution_started; } /** * Set execution_ended * * @param \DateTime $executionEnded * @return BatchJobs */ public function setExecutionEnded($executionEnded) { $this->execution_ended = $executionEnded; return $this; } /** * Get execution_ended * * @return \DateTime */ public function getExecutionEnded() { return $this->execution_ended; } /** * Set in_progress * * @param boolean $inProgress * @return BatchJobs */ public function setInProgress($inProgress) { $this->in_progress = $inProgress; return $this; } /** * Get in_progress * * @return boolean */ public function getInProgress() { return $this->in_progress; } /** * Set success * * @param boolean $success * @return BatchJobs */ public function setSuccess($success) { $this->success = $success; return $this; } /** * Get success * * @return boolean */ public function getSuccess() { return $this->success; } /** * Set failed * * @param boolean $failed * @return BatchJobs */ public function setFailed($failed) { $this->failed = $failed; return $this; } /** * Get failed * * @return boolean */ public function getFailed() { return $this->failed; } /** * Set fail_count * * @param boolean $failCount * @return BatchJobs */ public function setFailCount($failCount) { $this->fail_count = $failCount; return $this; } /** * Get fail_count * * @return boolean */ public function getFailCount() { return $this->fail_count; } /** * Set created_by * * @param string $createdBy * @return BatchJobs */ public function setCreatedBy($createdBy) { $this->created_by = $createdBy; return $this; } /** * Get created_by * * @return string */ public function getCreatedBy() { return $this->created_by; } /** * Set created_at * * @param \DateTime $createdAt * @return BatchJobs */ public function setCreatedAt($createdAt) { $this->created_at = $createdAt; return $this; } /** * Get created_at * * @return \DateTime */ public function getCreatedAt() { return $this->created_at; } /** * Set updated_at * * @param \DateTime $updatedAt * @return BatchJobs */ public function setUpdatedAt($updatedAt) { $this->updated_at = $updatedAt; return $this; } /** * Get updated_at * * @return \DateTime */ public function getUpdatedAt() { return $this->updated_at; } /** * Set is_locked * * @param boolean $isLocked * @return BatchJobs */ public function setIsLocked($isLocked) { $this->is_locked = $isLocked; return $this; } /** * Get is_locked * * @return boolean */ public function getIsLocked() { return $this->is_locked; } /** * Set jobPriority. * * @param int|null $jobPriority * * @return BatchJobs */ public function setJobPriority($jobPriority = null) { $this->job_priority = $jobPriority; return $this; } /** * Get jobPriority. * * @return int|null */ public function getJobPriority() { return $this->job_priority; } /** * Set siteHost. * * @param string|null $siteHost * * @return BatchJobs */ public function setSiteHost($siteHost = null) { $this->site_host = $siteHost; return $this; } /** * Get siteHost. * * @return string|null */ public function getSiteHost() { return $this->site_host; } /** * @ORM\PrePersist */ public function setCreatedAtValue() { if (is_null($this->getCreatedAt())) { $this->setCreatedAt(new \DateTime()); } } /** * @ORM\PreUpdate */ public function setUpdatedAtValue() { $this->setUpdatedAt(new \DateTime()); } public function isIsLocked(): ?bool { return $this->is_locked; } public function isInProgress(): ?bool { return $this->in_progress; } public function isSuccess(): ?bool { return $this->success; } public function isFailed(): ?bool { return $this->failed; } public function isFailCount(): ?bool { return $this->fail_count; } public function isLocked(): ?bool { return $this->is_locked; } }