???綺??障????????帥?障???????????????????篋?????????????????????????????????????????障????????

Google App Engine(GAE)???cron?????????????????鴻????????????????????障????????帥??
http://ko-lab.net/twitter/google-app-enginegae???cron?????????????????鴻????????????????????障?????????/

腱????BOT????堺???????????????????潟?帥???泣?若??筝????Cron??у????????????障??????????ャ????鴻???????若??????ャ???????????≧????с????????????????????号??????「??????????冴??????障????????

筝?綽?cron-job.org??????????????????????筝?絎?絎?????????????????荐???????????倶????с?????

http://www.cron-job.org/

?????????????????????????違?違?c???帥?????????????Google App Engine???Cron???篏帥???????????????????障????????鐚?

????????????????у????c?????篏??????障?????????ф?号??????????????ぇ??????????????????????????障?????

??紙絵????????????????????????????????????????PC?????吟?e?????????????????吟??????????????岡篁祉??莢??????障?????





??祉??GAE茯臥???????????鐚?篏?????????????鐚??????????????劫?????

???GAE?????絎?篁ヤ????????純?若?拷???????ゃ?????????????????????????医?????????????

??脂???????ゃ????????緇??????????ц??羆???????????ゃ???区??????с????????????????<????眼??茯臥??????≪???激?с?潟??莎激???????????????????????????????????????????с?????

??祉??????????????????障?с?蚊??????鴻???????????吾?????????????????亥?≧?????????峨????с???????障????障??

???echo???print???var_dump???print_r??у?阪????????????????????????違????????????????障?????

???1????????????????????????2???5???????????????筝?綺??????????с????????с???????????



??肢蚕???????????????????????????障??????????????????????????????????????????障???????????oAuth篏帥?????PHP??鴻???????????????????????????т戎??c???帥?????篋冴??戎??c???帥????????????????

http://ko-lab.net/???荐?/php??х亜????????oauth???twitterapi????≪???祉?鴻?????bot????????????????/


鐚?鐚?筝?羣????

http://code.google.com/intl/ja/appengine/

??????????鴻?帥?若??????ゃ??????????????脂?蚊??????????

http://codezine.jp/article/detail/3835

?????????????c???医?????絨???ャ???????????????????

eclipse?????????潟???若?????

http://mergedoc.sourceforge.jp/

????????????

鐚?鐚????????吾?с????篏????

筝?羣???????http://codezine.jp/article/detail/3835??????????若?吾????????吾?с????篏??????障?ч?蚊????с??????????????

???????吾?с????????????箴????札筝???????????????????с?????

???????吾?с????篏????箴?

篁ヤ?????testcron?????????蚊????障?????

鐚?鐚???潟?若???????吾??

testcronServlet.java?????????????潟?若???????吾????障?????

??√?????????????????т札筝???潟???????с??
URL url = new URL("http://your.bot.url/");

?????????????BOT???URL????吾?????????????????????????
package testcron;

import java.net.MalformedURLException;
import java.net.URL;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import javax.servlet.http.*;

@SuppressWarnings("serial")
public class testcronServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		resp.setContentType("text/plain");

		        try {
		            URL url = new URL("http://your.bot.url/");
		            BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));
		            String line;

		            while ((line = reader.readLine()) != null) {
		            	resp.getWriter().println(line);
		            }
		            reader.close();

		        } catch (MalformedURLException e) {
		        	resp.getWriter().println("URL faild : " + e);
		        } catch (IOException e) {
		        	resp.getWriter().println("URL faild : " + e);
		        }

	}
}

鐚?鐚?cron???┃絎?

testcron – war – WEB-INF

????劻??????????????

??域??????????<?ゃ??

??????????????????????<??cron.xml???篏????????????????????????

膩???????????????cron.xml????劻??????????????

??≪??????宴?若?激?с?潟?????????????????????鴻????祉??????c?帥??

??ч??????????????????????

??с??篁ヤ????潟???????с?????

testcron??????????????吾??紊??????????????????

<url>/crontest</url>

?????/???(??鴻??????激??)?????????????????????????????????

<cronentries>
<cronentries> <cron> <url>/crontest</url> <description>crontest the run every 2 minutes</description> <schedule>every 2 minutes</schedule> <timezone>Asia/Tokyo</timezone> </cron> </cronentries>

??????????с??2?????с????????


<schedule>every 2 minutes</schedule>

????医?????紊??????????3??????篏???с??10??????篏???с??????????障?????
???篏????1?????с?????篁??????荐?????後????????????障???????????????違?違?c????????????????

鐚?鐚???????????ゃ???????

??????????ゃ?c??????????????????≪?????????若????????戎???????????????????????????с?????

???????????違????????????????с?????????????

http://codezine.jp/article/detail/3835?p=4

?????????茯?????ч????????腆坂??????????????????????

箴?????????????????testcron??????????吟???????<??????

yukarinlove?????onakasuika?????????????????????篁??????????????????

鐚?鐚????????????

http://codezine.jp/article/detail/3835?p=5
?????????荀??????茵?????????????????????

鐚?鐚????????????腆肴????????

篁?????泣?若????鴻??Cron???荐?????????????翫?????????c????荐???????????????緇???<?障???????????
??????????????Web筝???у??????????????????腆肴?????????????翫?????

http://荐?????????Application id.appspot.com/testcron

??у????????????с?????

鐚?鐚????緇????

?????蚊??罕???с????????
???????????????????ャ??App id?????????????????鐚???わ????障??cron??у??????????????????????????障?????
??????????????????違??????潟?違???ヨ?????????????違??1??ゃ??App id??ц????違??BOT??????????????????????с???????с???????????

鐚?鐚?羂??????????????

????????????篁?GAE????脂?蚊?с??????????????????????
?????吟????????戎?????鴻??BAN??????????????????????????

WordPress???XML??潟?若??????????障?頫?ず????????????????