From ebc59e3587dbbbb6e203363fe4ca3a0b702f815d Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 20 May 2021 09:33:33 +0000 Subject: [PATCH] Add bash script for warranty. #567 --- utils/warranty_motiv_dev.sh | 2 ++ utils/warranty_motiv_prod.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100755 utils/warranty_motiv_dev.sh create mode 100755 utils/warranty_motiv_prod.sh diff --git a/utils/warranty_motiv_dev.sh b/utils/warranty_motiv_dev.sh new file mode 100755 index 00000000..48c7daf8 --- /dev/null +++ b/utils/warranty_motiv_dev.sh @@ -0,0 +1,2 @@ +#!/bin/bash +/usr/bin/php /usr/share/nginx/html/resqapi/utils/get_warranty_serial/get_serials.php && php /usr/share/nginx/html/resqapi/utils/load_warranty_serial/load_serials.php /tmp/output.txt "mysql:host=localhost;dbname=resq;charset=UTF8" resq Motolite456 diff --git a/utils/warranty_motiv_prod.sh b/utils/warranty_motiv_prod.sh new file mode 100755 index 00000000..7cab5d0d --- /dev/null +++ b/utils/warranty_motiv_prod.sh @@ -0,0 +1,2 @@ +#!/bin/bash +/usr/bin/php /var/www/resq/utils/get_warranty_serial/get_serials.php && /usr/bin/php /var/www/resq/utils/load_warranty_serial/load_serials.php /tmp/output.txt "mysql:host=localhost;dbname=resq;charset=UTF8" resq Motolite456