7 lines
170 B
Bash
7 lines
170 B
Bash
|
#!/bin/bash
|
||
|
tmp=$RANDOM
|
||
|
cp /var/www/ftp2.westgis.ac.cn/wsndata.sh /root/wsndata-${tmp}.sh
|
||
|
chmod +x /root/wsndata-${tmp}.sh
|
||
|
/root/wsndata-${tmp}.sh >> /var/log/wsn.log &
|
||
|
|