curl:
curl --data "a=123" url //post传参
curl -G -d "test=string" -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test" //get
curl -d "test=string" -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test" //post
curl -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test"
eg:
curl -d "appid=1101376335&action=test&op=open_time&key=0e1b193cd411946da263003052bc4e9c" http://wlop.ieodopen.qq.com/app/AreaServerInfoNew.php
定时:
curl --data "a=123" url //post传参
curl -G -d "test=string" -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test" //get
curl -d "test=string" -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test" //post
curl -silent -H "Host:qqgameadmin.cm.com" "10.123.12.60/co/QGameOpenAdmin.php/opencloth/test"
eg:
curl -d "appid=1101376335&action=test&op=open_time&key=0e1b193cd411946da263003052bc4e9c" http://wlop.ieodopen.qq.com/app/AreaServerInfoNew.php
定时:
*/20 * * * * curl http://qqgameadmin.cm.com/co/QGameOpenAdmin.php/opencloth/compareTheData
http://linuxtools-rst.readthedocs.org/zh_CN/latest/tool/crontab.html