linux ¶¨Ê±ÖØÆô·þÎñ£¬ÔÚÏßµÈ - PHP / »ù´¡±à³Ì
ÎÒµÄÏîÄ¿ËùÔڵĻ·¾³ÊÇphp+apache+linux
ÏÖÎÒÖØÆô·þÎñÊÇ service httpd restart
ÏÖÎÒÏ붨ʱÖØÆô´ËÏî·þÎñ£¨¶¨ÔÚÿÌìÏÂÎç4µã£© ÔõôʵÏÖѽ£¬¶àл
crontab
* 16 * * * service httpd restart
ѧϰ + ding
crontab
·Ö£¬ ʱ£¬ Ô£¬ ÈÕ£¬ Äê service httpd restart
·Ö£¬ ʱ£¬ ÈÕ£¬ Ô£¬ Äê //˳ÐòÕâÑù²Å¶Ô
0 16 * * *°É
ÃüÁîҪʹÓÃȫ·¾¶
crontab -e ±à¼
* 16 * * * /sbin/service httpd restart
×¢ÒâÓû§µÄȨÏÞ ÈôÎÞȨÏÞÖ´ÐдËÃüÁî ¶¨Ê±ÖØÆô·þÎñ²»³É¹¦
àÅ,¶¼¸øÄãÃÇ˵ÍêÁË.
ÎÒ˵°É,ÏÂÎç4µã²»ºÃ,ÍòÒ»ÖØÆôʧ°Ü,¾ÍµÃ¼Ó°àÁË
ѧϰÁËcrontabµÄÓ÷¨
³ýÁËcrontab »¹¿ÉÒÔÓá¡at ÃüÁî
crontabµÚÒ»¸öÓ¦¸ÃÊÇ£°£¬ÕâÑù£±£¶µãÕýÖØÆô·þÎñ£¬²»ÄÜÊÇ*
*±íʾÿ·ÖÖÓÖ´ÐÐÒ»´Î£¬¿Ï¶¨±»ÀÏ°åÂ¹þ¹þ
ÏÖÔÚµÄÀϰ壬 Ö»»á³ÔºÈÍæÀÖ£¬ ·þÎñÆ÷µ¹±ÕÁËÒ²²»ÖªÊ²Ã´»ØÊÂ
* 16 * * * service httpd restart
¶àл´ó¼Ò¡£¡£
¿Éµ½µ×ÊÇ
* 16 * * * service httpd restart
»¹ÊÇ
0 16 * * * service httpd restart
£¿
´ó¼Ò°ïÎÒ¿´ÏÂ
Ïà¹ØÎÊ´ð£º
ÔÚ×Ô¼ºµÄµçÄÔÉÏ°²×°ÁËubuntu ¾ÍÊÇÏëÍæÒ»ÏÂ3D×ÀÃ棬ÓÚÊÇÏÂÔØÁË
compizconfig-settings-manager
emerald
simple-ccsm
fusion
ÕâЩ¶«Î÷£¬°²×°ÍêÖ®ºó£¬ÎÒÔÚµçÄÔÀïµã»÷ÁËemerald ......
¹ýÍêÄêҪȥÎ人ÁË£¬ÏëÁ˽âÒ»ÏÂPHPÅàѵ±È½ÏÕý¹æ?
Ŷ ¶ÔÁË£¬»¹ÓУ¡PHPÊÖ²á±ØÐëµÃŪһ¸ö
àÅ ÌìÌìÔÚ¿´Ê¥¾£¨Ò»ÌìÒ²¾ÍÖ»ÄÜ¿´¸ö¶þʮҳ£©£¬PHP100ÊÓƵ½Ì³Ì¿´ÁË33½²ÁË£¨Ò»ÌìÒ²Ö»¿´Ò»½²£©
ÎÒ»á¼á³Ö°ÑÕâ±¾ÊéºÍÊÓƵ¸ã¶¨ ......
ÒýÓÃÄÚÈÝvsking 2009-12-25 22:56:52
ÏÖÔÚÊÇwin2008ºÍiis8µÄʱ´úÁË£¬²»Òª»¹Í£ÁôÔÚiis5ʱ´ú£¬win2008±»ÆÀΪʮ¼Ñ²Ù×÷ϵͳ֮Êײ»ÊÇżȻµÄ£¬ÄãÒªÊÇ..
ÎÒµÄÎÊÌâÊÇ£º
×î½üÏëÂò¸ö·þÎñÆ÷£¬¿´ÁËdellÉϵÄϵͳ¶¨ÖÆÑ¡Ôñ£¬Ò»Ð© ......
index.phpÄÚÈÝ£º
$smarty->assign('name',strtotime('-0'));
$smarty->display("index.html");
index.htmlÄÚÈÝ£º
{$name|date_format:'%Y-%m-%d'}<hr>
{$ ......