Rails3ã§ãããå¦çãå®è¡ãã¾ããRails3ã§Rubyãã¡ã¤ã«ãå®è¡ããã«ã¯ãrails runnerã³ãã³ãã使ç¨ãã¾ãã ãã®ã³ãã³ããcronã使ç¨ãã¦å®æå®è¡ããã°ããã®ã§ãããcronã®è¨å®ãç°¡åã«è¡ãããã«wheneverã¨ããã©ã¤ãã©ãªã使ç¨ãã¾ãã ããããã¡ã¤ã«ä½æ ãã¡ã¤ã«ä½æ ããã°ã©ã ã¯rails3ããã¸ã§ã¯ãå ã«ããlib/tasksã¨ãããã£ã¬ã¯ããªã«é ç½®ãã¾ãã ä¾ã¨ãã¦ãhello_task.rbã¨ãããã¡ã¤ã«ãä½æãã¾ãã libã®ãã¡ã¤ã«ãèªã¿è¾¼ãè¨å® 以ä¸ã®è¨å®ãconfig/application.rbã«è¿½å ãã¾ãã config.autoload_paths += %W(#{config.root}/lib) config.autoload_paths += Dir["#{config.root}/lib/**/"] ããã°ã©ã ä½æ he
{{#tags}}- {{label}}
{{/tags}}