Perl ã§ãã¹ã¯ãªããããã¼ã¢ã³åããã®ã¯ãããªã«é£ãããªãã Proc::Daemon ã¨ããã¢ã¸ã¥ã¼ã«ã使ãã°ç°¡åã«ã§ãã ã®ã ããããã«ã¯å°ããªãã¬ã¼ã ã¯ã¼ã¯ã«æ²¿ã£ã¦ã¹ã¯ãªãããæ¸ããã°ãªããªãã次ã®ãµã³ãã«ã«ç©ºã®ãã¬ã¼ã ã¯ã¼ã¯ã示ããã®ã§ãæ¢åã®ã¹ã¯ãªãããããå ´åã«ã¯ããã«æ²¿ã£ã¦èªåã®ã¹ã¯ãªãããå°ã æ¹é ããã°ãããåºæ¬çã«ã¯ action ãµãã«ã¼ãã³ã«ãã¸ãã¯ãæ¸ãã°ããããã«ãªã£ã¦ããã 使ç¨ããã¢ã¸ã¥ã¼ã« use Proc::Daemon; #/usr/bin/perl -w use Proc::Daemon; our $DAEMON        = 1;     # ãã¼ã¢ã³ã«ãããï¼: 1(ãªã³) / 0 (ãªã) our $SLEEP_INTERVAL = 60;    # ã¹ãªã¼ãã®ééï¼ç§ï¼ &init; &run; sub action { # ãã
{{#tags}}- {{label}}
{{/tags}}