PHP????????????????????
???????????? ???????[ 2013/7/11 14:16:36 ] ????????
????/opt/zhangyan.sh???????£? view plainprint:
#??/bin/sh
echo $(date -d "today" +"%Y-%m-%d %H??%M??%S") $1 >> /opt/zhangyan.log
sleep_time=$(expr $RANDOM % 4 + 1)
sleep $sleep_time
??????/opt/zhangyan.sh???????????????????????????????????е?$(expr $RANDOM % 4 + 1)????????1??5???????????????????????1??5????????1??????????????????????????????2??6??????????????????????????1??5????
--------------------------------------------------------------------------------
??????г???
/usr/local/php/bin/php /opt/zhangyan.php
??/usr/local/php/bin/php??PHP???????????·????
??????/opt/zhangyan.sh???μ????????????к????У?
head -n 1 /opt/zhangyan.log
2007-11-16 07??54??13 http??//blog.s135.com
tail -n 1 /opt/zhangyan.log
2007-11-16 07??54??18 http??//blog.s135.com
?????????????500?????????????1000??????????5??????????????????????????????????????????1?????????1000?????16?????????ɡ?
--------------------------------------------------------------------------------
????PS????PHP???????Linux?????????????
nohup /usr/local/php/bin/php /opt/zhangyan.php 2>&1 > /dev/null &
??????nohup????????????????????????г???“2>&1 > /dev/null”???????????????????????????&???????????С???
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11