Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ¶¨Ê±ÖØÆô·þÎñ£¬ÔÚÏßµÈ - PHP / »ù´¡±à³Ì

ÎÒµÄÏîÄ¿ËùÔڵĻ·¾³ÊÇphp+apache+linux
ÏÖÎÒÖØÆô·þÎñÊÇ service httpd restart 
ÏÖÎÒÏ붨ʱÖØÆô´ËÏî·þÎñ£¨¶¨ÔÚÿÌìÏÂÎç4µã£© ÔõôʵÏÖѽ£¬¶àл
crontab
* 16 * * * service httpd restart

ѧϰ + ding

ÒýÓÃ
crontab
* 16 * * * service httpd restart


crontab
·Ö£¬ ʱ£¬ Ô£¬ ÈÕ£¬ Äê service httpd restart

·Ö£¬ ʱ£¬ ÈÕ£¬ Ô£¬ Äê //˳ÐòÕâÑù²Å¶Ô

0 16 * * *°É

ÒýÓÃ
crontab
* 16 * * * service httpd restart

ÃüÁîҪʹÓÃȫ·¾¶

crontab -e ±à¼­
 * 16 * * * /sbin/service httpd restart
×¢ÒâÓû§µÄȨÏÞ ÈôÎÞȨÏÞÖ´ÐдËÃüÁî ¶¨Ê±ÖØÆô·þÎñ²»³É¹¦

àÅ,¶¼¸øÄãÃÇ˵ÍêÁË.
ÎÒ˵°É,ÏÂÎç4µã²»ºÃ,ÍòÒ»ÖØÆôʧ°Ü,¾ÍµÃ¼Ó°àÁË

ѧϰÁËcrontabµÄÓ÷¨

³ýÁËcrontab »¹¿ÉÒÔÓá¡at ÃüÁî

crontabµÚÒ»¸öÓ¦¸ÃÊÇ£°£¬ÕâÑù£±£¶µãÕýÖØÆô·þÎñ£¬²»ÄÜÊÇ*
*±íʾÿ·ÖÖÓÖ´ÐÐÒ»´Î£¬¿Ï¶¨±»ÀÏ°åÂ¹þ¹þ

ÒýÓÃ
crontabµÚÒ»¸öÓ¦¸ÃÊÇ£°£¬ÕâÑù£±£¶µãÕýÖØÆô·þÎñ£¬²»ÄÜÊÇ*
*±íʾÿ·ÖÖÓÖ´ÐÐÒ»´Î£¬¿Ï¶¨±»ÀÏ°åÂ¹þ¹þ


ÏÖÔÚµÄÀϰ壬 Ö»»á³ÔºÈÍæÀÖ£¬ ·þÎñÆ÷µ¹±ÕÁËÒ²²»ÖªÊ²Ã´»ØÊÂ

* 16 * * * service httpd restart
¶àл´ó¼Ò¡£¡£

¿Éµ½µ×ÊÇ
* 16 * * * service httpd restart 

»¹ÊÇ

0 16 * * * service httpd restart 
£¿


´ó¼Ò°ïÎÒ¿´ÏÂ

ÒýÓÃ
¿Éµ


Ïà¹ØÎÊ´ð£º

linux×ÀÃæ½ø²»È¥ÁË£¬Ôõô°ì¡­¡­¡­¡­¡­¡­

ÔÚ×Ô¼ºµÄµçÄÔÉÏ°²×°ÁËubuntu ¾ÍÊÇÏëÍæÒ»ÏÂ3D×ÀÃ棬ÓÚÊÇÏÂÔØÁË 
compizconfig-settings-manager 
emerald 
simple-ccsm 
fusion 
ÕâЩ¶«Î÷£¬°²×°ÍêÖ®ºó£¬ÎÒÔÚµçÄÔÀïµã»÷ÁËemerald ......

Î人ÄÄÀïPHPÅàѵ±È½ÏÕý¹æ - PHP / »ù´¡±à³Ì

¹ýÍêÄêҪȥÎ人ÁË£¬ÏëÁ˽âÒ»ÏÂPHPÅàѵ±È½ÏÕý¹æ?

Ŷ ¶ÔÁË£¬»¹ÓУ¡PHPÊÖ²á±ØÐëµÃŪһ¸ö

àÅ ÌìÌìÔÚ¿´Ê¥¾­£¨Ò»ÌìÒ²¾ÍÖ»ÄÜ¿´¸ö¶þʮҳ£©£¬PHP100ÊÓƵ½Ì³Ì¿´ÁË33½²ÁË£¨Ò»ÌìÒ²Ö»¿´Ò»½²£©
ÎÒ»á¼á³Ö°ÑÕâ±¾ÊéºÍÊÓƵ¸ã¶¨ ......

ÊÇÑ¡win2008»¹ÊÇsuse linux¡¢redhat¡¢centos,ÓÌÔ¥ÖÐ

ÒýÓÃÄÚÈÝvsking 2009-12-25 22:56:52
ÏÖÔÚÊÇwin2008ºÍiis8µÄʱ´úÁË£¬²»Òª»¹Í£ÁôÔÚiis5ʱ´ú£¬win2008±»ÆÀΪʮ¼Ñ²Ù×÷ϵͳ֮Êײ»ÊÇżȻµÄ£¬ÄãÒªÊÇ..
ÎÒµÄÎÊÌâÊÇ£º
×î½üÏëÂò¸ö·þÎñÆ÷£¬¿´ÁËdellÉϵÄϵͳ¶¨ÖÆÑ¡Ôñ£¬Ò»Ð© ......

ÎÊÒ»¸öPHPºÍsmartyµÄÈÕÆÚÎÊÌâ - PHP / »ù´¡±à³Ì

index.phpÄÚÈÝ£º
  $smarty->assign('name',strtotime('-0'));
  $smarty->display("index.html");
index.htmlÄÚÈÝ£º
{$name|date_format:'%Y-%m-%d'}<hr>
{$ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ