Linux»ù±¾²Ù×÷ʵÑ飨4£©
³£¶¼ÊÇһЩShell ½Å±¾¡¢ÃüÁî¡¢¼°perl ÃüÁî»òÕßperl½Å±¾µÈ,µ±È»Ò²ÓÐһЩӦÓÃ.Cron°´Óû§ºÍ°´Ê±¼ä¶Î¿ÉÒÔ½«¶à¸öÈνøÐзÖÀà±£´æ.ͨ³£/etc/crontab ±£´æÊÇÒ»¸öϵͳµÄÈ«¾ÖµÄÅäÖÃÎļþ.²é¿´Õâ¸öÅäÖÃÎļþ,ÎÒÃÇ¿ÉÒÔ¿´³ö,ÆäÖжàÒ»¸ö²ÎÊý run-partsºóÃæ¼ÓÉÏÃüÁî±£´æµÄ·¾¶.ÿ¸öÓû§µ¥¶À´´½¨µÄÅäÖÃÎļþÒ»°ã±£´æÔÚ/var/spool/cron/crontabÏÂ,Õâ¸öĿ¼Ï»áΪÿ¸öÓû§½¨Ò»¸öÒÔÓû§Ãû×ÖÃüÃûµÄÅäÖÃÎļþ.
4£©ÅäÖÃÃüÁî crontab ¨Cl Áгöµ±Ç°Óû§ crontab ¨Ce ±à¼Ò»¸öеÄÎļþ [root@windriver-machine ~]# cat /etc/crontab # run-parts [root@windriver-machine ~]# Mon Aug 8 00:46:01 CST 2011 [root@windriver-machine ~]# crontab -e at ÊÇLinuxϲ¿ÊðÒ»´ÎÐÔÈÎÎñ¹¤¾ß°ü. ¡¾1¡¿°²×°at. atÊÇÓÐÒ»¸öµÚÈý·½¿ª·¢°ü,ȱʡLINUX¶¼°²×°ºÃÁË.
¡¾2¡¿Æô¶¯at,ͨ¹ýÃüÁî²é¿´at·þÎñ״̬.
¡¾3¡¿ÅäÖÃatÒ»´ÎÐÔÈÎÎñ. at µÄ»ù±¾¸ñʽÊÇ at Ö¸¶¨Ê±¼ä ºó½ÓÖ¸¶¨ÈÎÎñ. ÿ´´½¨Ò»¸öatÈÎÎñ,ϵͳ¶¼»áÔÚ/var/spool/atÏ´´½¨Ò»¸öÈÎÎñÃû.µ±Õâ¸öÈÎÎñ±»Ö´Ðкó,Ëü¾Í»á±»É¾³ý. µ±È»ÔÚÖ´ÐÐ֮ǰҲ¿ÉÒÔʹÓÃÃüÁîatrmÀ´É¾³ý,ʹÓÃatqÀ´²é¿´.
ͬcronÒ»Ñù,at Ò²¿É¿ØÖÆÓû§Ê¹ÓÃ/etc/at.allow ºÍ/etc/at.deny.Ò²¿ÉÒÔʹÓÃһЩѡÏîÈç-m ¨Cq -l.»¹¿ÉÒÔʹÓÃÁíÍâÒ»¸öÃüÁîbatch.ÕâÊÇÒ»¸öÌØÊâÃüÁî,Ö»Óе±ÏµÍ³¸ºÔØϽµµ½0.8ʱ²Å»áÖ´ÐеÄ. |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |
- ʹÓÃEclipse Ganymede½øÐÐ×ÀÃæ¡¢WebºÍÒƶ¯É豸¿ª·¢£¬µÚ2²¿·Ö£¨¶þ£© - ±à³ÌÈëÃÅÍø
- Photoshop»ù´¡¹¤¾ßÖÆ×÷ÖʸÐÀ¶****Ò³°´Å¥
- dz̸¹Ç¸É½»»»»úºÍ×ÀÃæ½»»»»úµÄÇø±ð
- °ÑÈ«½ÇÊý×ÖתΪ°ë½ÇÊý×Ö
- ʹÓÃÓÃFlashÖÆ×÷дÒâ»-Öñ
- JSʵÀý½Ì³Ì:ÓÃ6N¡À1·¨ÇóËØÊý
- C++±àÒëÆ÷ÈçºÎʵÏÖÒì³£´¦Àí
- CSS½Ì³Ì,ÈÃÍøÒ³¶ÔËÑË÷ÒýÇæ¸üÓѺÃ
- VBS½Ì³Ì£ºÊôÐÔ-ShareName ÊôÐÔ
- PSͼƬ½Ì³Ì:Ïļ¾ÕÕƬ±äº®ÀäÑ©¾°