raksmart活动促销

分享

写回答

发帖

帮忙翻译一下,我想用godaddy的cron功能

英文翻译专版 英文翻译专版 2727 人阅读 | 7 人回复

发表于 2008-7-8 18:49:58 | 显示全部楼层 |阅读模式

The Command field is the script or executable that runs at a specified frequency. Click Browse to locate a file in your hosting account. The full file name of your selection is placed into this editable field.

Cron commands are typically script files that have executable permission and specify their interpreter as the first line of the file. For example, a first line of "#!/usr/bin/perl" directs the system to run the perl language interpreter for the file.

Your Shared Hosting account supports the following languages and associated interpreter lines:

Perl: #!/usr/bin/perl
Python 2.2: #!/usr/bin/python2.2
Python 2.3: #!/usr/bin/python2.3
Python 2.4: #!/usr/bin/python2.4
Ruby: #!/usr/local/bin/ruby
Bash: #!/bin/bash
The installed versions of PHP 4 and PHP 5 do not support the interpreter specification in a PHP file. In order to run a PHP script via Cron, you must specify the interpreter manually. For example:
PHP 4: /web/cgi-bin/php "$HOME/html/test.php"
PHP 5: /web/cgi-bin/php5 "$HOME/html/test.php5"
Note: In this example script, "$HOME" represents the full path to your Shared Hosting account. The actual path to your account will be provided if you select the the script from your account using the Browse button.

回答|共 7 个

dsxy

发表于 2008-7-10 12:47:19 | 显示全部楼层

怎么人帮忙翻译啊?

add.c

发表于 2008-7-10 13:15:48 | 显示全部楼层

楼上的要翻译顶楼的那段话么?

dsxy

发表于 2008-7-10 20:21:03 | 显示全部楼层

是啊,1楼2楼都是我啊

add.c

发表于 2008-7-11 10:07:16 | 显示全部楼层

命令以指定的频率运行脚本或可执行文件,选择浏览找到主机上的一个文件。
你选择的文件名放置到可编辑的位置(有写权限。

(介绍corn的,略)

你的共享主机主机支持以下语言和相关行
Perl: #!/usr/bin/perl
Python 2.2: #!/usr/bin/python2.2
Python 2.3: #!/usr/bin/python2.3
Python 2.4: #!/usr/bin/python2.4
Ruby: #!/usr/local/bin/ruby
Bash: #!/bin/bash

安装了php4和php5的不支持php文件中那些编译语句,想要支持的话你必须
手动指定编译顺序。例如:
PHP 4: /web/cgi-bin/php "$HOME/html/test.php"
PHP 5: /web/cgi-bin/php5 "$HOME/html/test.php5"
Note: In this example script, "$HOME" represents the full path to your Shared Hosting account. The actual path to your account will be provided if you select the the script from your account using the Browse button.

水平有限

评分

参与人数 1威望 +1 金币 +2 银币 +5 收起 理由
kingto + 1 + 2 + 5 助人为乐

查看全部评分

dsxy

发表于 2008-7-11 18:09:06 | 显示全部楼层

呵呵,谢谢楼上的

不过我还没有弄明白怎么使用corn

不知道有没有使用过的

来说说

add.c

发表于 2008-7-12 09:57:01 | 显示全部楼层

回复 6# 的帖子

用google搜下corn

add.c

发表于 2008-7-12 15:11:14 | 显示全部楼层

回复 6# 的帖子

控制面板里也有cron manage管理图标的。进去看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则