QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 972|回复: 1

我还是不懂怎样在linux后端自动半小时运行程序test1.php4???

[复制链接]
发表于 2002-10-30 14:39:15 | 显示全部楼层 |阅读模式
你好,
我要在linux后端只要开机就每隔半小时运行一次程序test.php4,
而在运行此程序时不要它跳出ie浏缆器窗口,
因为如用程序本身自动刷新侧好象要在ie窗口中的。
发表于 2002-11-2 13:18:54 | 显示全部楼层

举个例子:

<head>
    $meta_refresh
    <title>$header</title>
    <style type="text/css">
            body { font-family: verdana; font-size: 14px; }
            a { font-family: verdana;
            font-size: 14px;
            text-decoration: none }
    </style>
</head>

// 这里 秒为单位:
$sec = "32";

// meta refresh stuff for auto slideshow...
if ($auto_slideshow == "true") {
$meta_refresh = "<meta http-equiv=\"refresh\" content=\"";
$meta_refresh .= "$sec;url=$path?directory=$directory&currentPic=$next\">";
}
else $meta_refresh = "\n";
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-23 22:18 , Processed in 0.053479 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表