Add bash script for warranty. #567

This commit is contained in:
Korina Cordero 2021-05-20 09:33:33 +00:00
parent 10a9b3227f
commit ebc59e3587
2 changed files with 4 additions and 0 deletions

2
utils/warranty_motiv_dev.sh Executable file
View file

@ -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

2
utils/warranty_motiv_prod.sh Executable file
View file

@ -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