diff --git a/modules/notifications/batch/basket_event_stack.php b/bin/notification/basket_event_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/basket_event_stack.php rename to bin/notification/basket_event_stack.php diff --git a/modules/notifications/batch/batch_tools.php b/bin/notification/batch_tools.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/batch_tools.php rename to bin/notification/batch_tools.php diff --git a/modules/notifications/batch/config/config.xml.default b/bin/notification/config/config.xml.default old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/config/config.xml.default rename to bin/notification/config/config.xml.default diff --git a/modules/notifications/batch/load_basket_event_stack.php b/bin/notification/load_basket_event_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/load_basket_event_stack.php rename to bin/notification/load_basket_event_stack.php diff --git a/modules/notifications/batch/load_process_email_stack.php b/bin/notification/load_process_email_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/load_process_email_stack.php rename to bin/notification/load_process_email_stack.php diff --git a/modules/notifications/batch/load_process_event_stack.php b/bin/notification/load_process_event_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/load_process_event_stack.php rename to bin/notification/load_process_event_stack.php diff --git a/modules/notifications/batch/load_stack_letterbox_alerts.php b/bin/notification/load_stack_letterbox_alerts.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/load_stack_letterbox_alerts.php rename to bin/notification/load_stack_letterbox_alerts.php diff --git a/modules/notifications/batch/process_email_stack.php b/bin/notification/process_email_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/process_email_stack.php rename to bin/notification/process_email_stack.php diff --git a/modules/notifications/batch/process_event_stack.php b/bin/notification/process_event_stack.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/process_event_stack.php rename to bin/notification/process_event_stack.php diff --git a/bin/notification/scripts/BASKETS.sh b/bin/notification/scripts/BASKETS.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ff53615b55420af1bbb8a2ed5aacd4ada5d506a --- /dev/null +++ b/bin/notification/scripts/BASKETS.sh @@ -0,0 +1,3 @@ +#!/bin/sh +eventStackPath='/var/www/html/MaarchCourrier/bin/notification/basket_event_stack.php' +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n BASKETS \ No newline at end of file diff --git a/bin/notification/scripts/nct-ncc-and-anc.sh b/bin/notification/scripts/nct-ncc-and-anc.sh new file mode 100755 index 0000000000000000000000000000000000000000..3bad6f66ce569dc32b673c85c50e7b820aa39ef1 --- /dev/null +++ b/bin/notification/scripts/nct-ncc-and-anc.sh @@ -0,0 +1,6 @@ +#!/bin/sh +eventStackPath='/var/www/html/MaarchCourrier/bin/notification/process_event_stack.php' +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n NCC +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n ANC +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n AND +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n RED diff --git a/bin/notification/scripts/ret1-ret2.sh b/bin/notification/scripts/ret1-ret2.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a24d960442ae4db215d95dd6af3fe60714d0f40 --- /dev/null +++ b/bin/notification/scripts/ret1-ret2.sh @@ -0,0 +1,6 @@ +#!/bin/sh +mlbStackPath='/var/www/html/MaarchCourrier/bin/notification/stack_letterbox_alerts.php' +eventStackPath='/var/www/html/MaarchCourrier/bin/notification/process_event_stack.php' +php $mlbStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n RET1 +php $eventStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml -n RET2 diff --git a/bin/notification/scripts/sendmail.sh b/bin/notification/scripts/sendmail.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6902e1a6be0edf8a72b6d94f2916ab04f314f63 --- /dev/null +++ b/bin/notification/scripts/sendmail.sh @@ -0,0 +1,4 @@ +#!/bin/sh +emailStackPath='/var/www/html/MaarchCourrier/bin/notification/process_email_stack.php' +php $emailStackPath -c /var/www/html/MaarchCourrier/bin/notification/config/config.xml + diff --git a/modules/notifications/batch/stack_letterbox_alerts.php b/bin/notification/stack_letterbox_alerts.php old mode 100755 new mode 100644 similarity index 100% rename from modules/notifications/batch/stack_letterbox_alerts.php rename to bin/notification/stack_letterbox_alerts.php diff --git a/modules/notifications/batch/logs/process_email_stack/.gitkeep b/modules/notifications/batch/logs/process_email_stack/.gitkeep deleted file mode 100755 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/modules/notifications/batch/logs/process_event_stack/.gitkeep b/modules/notifications/batch/logs/process_event_stack/.gitkeep deleted file mode 100755 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/modules/notifications/batch/logs/process_letterbox_alerts/.gitkeep b/modules/notifications/batch/logs/process_letterbox_alerts/.gitkeep deleted file mode 100755 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/modules/notifications/batch/scripts/BASKETS.sh b/modules/notifications/batch/scripts/BASKETS.sh deleted file mode 100644 index 606287e7330c6d738c7598b5583800dc05305b5e..0000000000000000000000000000000000000000 --- a/modules/notifications/batch/scripts/BASKETS.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -eventStackPath='/var/www/html/MaarchCourrier/modules/notifications/batch/basket_event_stack.php' -cd /var/www/html/MaarchCourrier/modules/notifications/batch/ -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n BASKETS \ No newline at end of file diff --git a/modules/notifications/batch/scripts/nct-ncc-and-anc.sh b/modules/notifications/batch/scripts/nct-ncc-and-anc.sh deleted file mode 100755 index b9e0702a06d5ca8b6127fa838910a14582d9654c..0000000000000000000000000000000000000000 --- a/modules/notifications/batch/scripts/nct-ncc-and-anc.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -eventStackPath='/var/www/html/MaarchCourrier/modules/notifications/batch/process_event_stack.php' -cd /var/www/html/MaarchCourrier/modules/notifications/batch/ -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n NCC -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n ANC -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n AND -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n RED diff --git a/modules/notifications/batch/scripts/ret1-ret2.sh b/modules/notifications/batch/scripts/ret1-ret2.sh deleted file mode 100755 index f9bc42ffcd068df9094e374b87858e8a43f64d62..0000000000000000000000000000000000000000 --- a/modules/notifications/batch/scripts/ret1-ret2.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -mlbStackPath='/var/www/html/MaarchCourrier/modules/notifications/batch/stack_letterbox_alerts.php' -eventStackPath='/var/www/html/MaarchCourrier/modules/notifications/batch/process_event_stack.php' -cd /var/www/html/MaarchCourrier/modules/notifications/batch/ -php $mlbStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n RET1 -php $eventStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml -n RET2 diff --git a/modules/notifications/batch/scripts/sendmail.sh b/modules/notifications/batch/scripts/sendmail.sh deleted file mode 100755 index d3771b1f0bc2f48577be45cdd0e1129d33da574c..0000000000000000000000000000000000000000 --- a/modules/notifications/batch/scripts/sendmail.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -cd /var/www/html/MaarchCourrier/modules/notifications/batch/ -emailStackPath='/var/www/html/MaarchCourrier/modules/notifications/batch/process_email_stack.php' -php $emailStackPath -c /var/www/html/MaarchCourrier/modules/notifications/batch/config/config.xml - diff --git a/modules/notifications/batch/tmp/test.txt b/modules/notifications/batch/tmp/test.txt deleted file mode 100755 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000