9 lines
464 B
Bash
Executable file
9 lines
464 B
Bash
Executable file
#!/bin/bash
|
|
#touch /tmp/warranty_download_serial.csv
|
|
proc_date=`date +%m-%d-%y -d "1 day ago"`
|
|
download_file="/tmp/warranty_download_serial_$proc_date.csv"
|
|
load_status_file="/tmp/warranty_load_status_$proc_date.txt"
|
|
echo $download_file
|
|
echo $load_status_file
|
|
/usr/bin/php /var/www/resq/utils/get_warranty_serial/new_get_serials.php $proc_date $download_file 1
|
|
/usr/bin/php /var/www/resq/utils/load_warranty_serial/load_serials.php $download_file $load_status_file
|