Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-commerce committed Mar 4, 2020
2 parents 0b22396 + 57295a1 commit 141cef3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Helper/Cronjob.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ class Cronjob extends \Magento\Framework\App\Helper\AbstractHelper
*/
const CRON_XML = 'xml';

/**
* Cron job other
*/
const CRON_OTHER = 'other';

/**
* Class constructor.
* @param \Magento\Framework\App\Helper\Context $context
Expand Down Expand Up @@ -294,6 +299,8 @@ private function getJobcodeType($jobCode, $group)
$result = self::CRON_DB;
} elseif ($xml && !$db) {
$result = self::CRON_XML;
} else {
$result = self::CRON_OTHER;
}

return $result;
Expand Down

0 comments on commit 141cef3

Please sign in to comment.