Skip to content

Instantly share code, notes, and snippets.

@rintoug
Created February 9, 2021 07:28
Show Gist options
  • Save rintoug/3ff7dfa2821b589f00f1a3771c2dcafe to your computer and use it in GitHub Desktop.
Save rintoug/3ff7dfa2821b589f00f1a3771c2dcafe to your computer and use it in GitHub Desktop.
#!/bin/bash
# Customers
php aritsan import:customers
echo Customers Done
# Products
php aritsan import:products
echo Products Done
# Orders
counter=1
while [ $counter -le 3 ]
do
php aritsan import:orders
((counter++))
done
echo Orders Done
# Invoices
counter=1
while [ $counter -le 3 ]
do
php aritsan import:invoices
((counter++))
done
echo Invoices Done
# Credit Memo
counter=1
while [ $counter -le 3 ]
do
php aritsan import:credit_memo
((counter++))
done
echo Credit Memo Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment