Commit 0b4097cd authored by shajiaiming's avatar shajiaiming

sh multiple lines

parent ee9d3446
#!/bin/bash #!/bin/bash
while true; do php /var/www/html/token_pwallet/yii cross-chain/auto-transfer >> /var/www/html/auto-transfer.log 2>&1; sleep 15; done & while true;
\ No newline at end of file do
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 1 0 >> /var/www/html/auto-transfer.log 2>&1;
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 2 0 >> /var/www/html/auto-transfer.log 2>&1;
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 3 0 >> /var/www/html/auto-transfer.log 2>&1;
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 1 1 >> /var/www/html/auto-transfer.log 2>&1;
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 2 1 >> /var/www/html/auto-transfer.log 2>&1;
php /var/www/html/token_pwallet/yii cross-chain/auto-transfer 3 1 >> /var/www/html/auto-transfer.log 2>&1;
sleep 15;
done &
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment