From fe659490b724cbdce09c55cd3c7a1ca652bee519 Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Sun, 2 Dec 2012 15:54:21 +0000
Subject: [PATCH] evo: add sh for unix\linux

---
 notifications/trunk/batch/nct-ncc-and-anc.sh | 7 +++++++
 notifications/trunk/batch/ret1-ret2.sh       | 7 +++++++
 notifications/trunk/batch/sendmail.sh        | 5 +++++
 3 files changed, 19 insertions(+)
 create mode 100644 notifications/trunk/batch/nct-ncc-and-anc.sh
 create mode 100644 notifications/trunk/batch/ret1-ret2.sh
 create mode 100644 notifications/trunk/batch/sendmail.sh

diff --git a/notifications/trunk/batch/nct-ncc-and-anc.sh b/notifications/trunk/batch/nct-ncc-and-anc.sh
new file mode 100644
index 00000000000..2ecc61a5447
--- /dev/null
+++ b/notifications/trunk/batch/nct-ncc-and-anc.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+eventStackPath='/var/www/maarch_entreprise/modules/notifications/batch/process_event_stack.php'
+cd /var/www/maarch_entreprise/modules/notifications/batch/
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n NCT
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n NCC
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n ANC
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n AND
diff --git a/notifications/trunk/batch/ret1-ret2.sh b/notifications/trunk/batch/ret1-ret2.sh
new file mode 100644
index 00000000000..7ddd2aee631
--- /dev/null
+++ b/notifications/trunk/batch/ret1-ret2.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+mlbStackPath='/var/www/maarch_entreprise/modules/notifications/batch/stack_letterbox_alerts.php'
+eventStackPath='/var/www/maarch_entreprise/modules/notifications/batch/process_event_stack.php'
+cd  /var/www/maarch_entreprise/modules/notifications/batch/
+php $mlbStackPath   -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml 
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n RET1
+php $eventStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml -n RET2
diff --git a/notifications/trunk/batch/sendmail.sh b/notifications/trunk/batch/sendmail.sh
new file mode 100644
index 00000000000..91537c394ae
--- /dev/null
+++ b/notifications/trunk/batch/sendmail.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd /var/www/maarch_entreprise/modules/notifications/batch/
+emailStackPath='/var/www/maarch_entreprise/modules/notifications/batch/process_email_stack.php'
+php $emailStackPath -c /var/www/maarch_entreprise/modules/notifications/batch/config/config.xml
+
-- 
GitLab