10 lines
256 B
Bash
Executable file
10 lines
256 B
Bash
Executable file
#!/bin/bash
|
|
# get the number fo warranty serial files to process
|
|
declare -i num_files
|
|
|
|
num_files=`/var/www/resq/bin/console warrantyserial:count`
|
|
|
|
for (( i = 1; i <= num_files; i++ ))
|
|
do
|
|
/usr/bin/php /var/www/resq/bin/console warrantyserial:load
|
|
done
|