diff --git a/workflow/engine/bin/plugins/cronSendNotification.php b/workflow/engine/bin/plugins/cronSendNotification.php new file mode 100644 index 000000000..d19c2ed64 --- /dev/null +++ b/workflow/engine/bin/plugins/cronSendNotification.php @@ -0,0 +1,63 @@ +searchCases(); + // g::pr($this->searchSificonParameter('Url')); + + $endTime = date('Y-m-d H:i:s'); + eprintln('--- The cron file: ' . $pathCron . ' has been executed succesfully ' . $endTime, 'green'); + } else { + eprintln('--- The plugin psFassilManagementPlugin is disabled', 'red'); + } + } + } catch (Exception $e) { + return $e->getMessage(); + } + } + + public function searchSificonParameter($key) + { + $sQselectSSP = "SELECT * + FROM PMT_SOL_SIFICON_PARAMETERS + WHERE SSP_KEY='$key'"; + $sSelectSSP = executeQuery($sQselectSSP); + $return = ''; + if (count($sSelectSSP) > 0) { + $sSelectSSP = array_shift($sSelectSSP); + $return = $sSelectSSP['SSP_VALUE']; + } + return $return; + } +} + +// $cronSendNotification = new cronSendNotificationClassCron(); +// $cronSendNotification->executeCron(); diff --git a/workflow/engine/bin/plugins/cronSendNotificationDerivation.php b/workflow/engine/bin/plugins/cronSendNotificationDerivation.php new file mode 100644 index 000000000..916591e40 --- /dev/null +++ b/workflow/engine/bin/plugins/cronSendNotificationDerivation.php @@ -0,0 +1,46 @@ +searchCases(); + + $endTime = date('Y-m-d H:i:s'); + eprintln('--- The cron file: ' . $pathCron . ' has been executed succesfully ' . $endTime, 'green'); + } else { + eprintln('--- The plugin psFassilManagementPlugin is disabled', 'red'); + } + } + } catch (Exception $e) { + return $e->getMessage(); + } + } +} + +// $cronSendNotification = new cronSendNotificationDerivationClassCron(); +// $cronSendNotification->executeCron(); diff --git a/workflow/engine/skinEngine/lurana/layout.html b/workflow/engine/skinEngine/lurana/layout.html index 78782ad57..49b763a7b 100755 --- a/workflow/engine/skinEngine/lurana/layout.html +++ b/workflow/engine/skinEngine/lurana/layout.html @@ -31,13 +31,15 @@