auto_tester.sh文件内容如下:
#!/bin/sh
#
#Script to export
#
for x in `ps xww | grep "auto_tester.sh" | cut -c1-5`
do
if [ $x != $$ ]
then
kill $x 2>/dev/null
fi
done
while : ;
do
php -d session.save_path=/dev/null -f /www/test.php > /dev/null
sleep 10
done