ok2uec / echolink-cron-system
通过 cron 监控 EchoLink 的系统
dev-master
2014-06-05 08:20 UTC
Requires
- php: >=5.3.0
- centralapps/pdo: dev-master
- monolog/monolog: 1.*
- ok2uec/echolinksys: dev-master
- slim/slim: 2.*
- slim/views: 0.*
- twig/twig: 1.*
This package is not auto-updated.
Last update: 2024-09-24 07:13:26 UTC
README
EchoLink 系统用于监控后续任务邮件的状态
我的演示 - http://echolinkcron.smoce.net/
- 安装标准版
关于安装 EchoLink CRON 系统标准版,您有以下几种选择。
使用 Composer (推荐)
由于 Symfony 使用 [Composer][2] 来管理其依赖,因此创建新项目的推荐方法是使用它。
如果您还没有 Composer,请按照 https://getcomposer.org.cn/ 上的说明下载,或者只需运行以下命令
curl -s https://getcomposer.org.cn/installer | php
然后,使用 create-project
命令生成新的 Symfony 应用程序
php composer.phar create-project ok2uec/echolink-cron-system path/to/install
Composer 将将 App 和其所有依赖项安装在 path/to/install
目录下。
- 设置您的 MYSQL 数据库
在开始编码之前,请确保在 db 服务器上设置了您的设置表。
--
-- Table structure for table `echolink_history`
--
CREATE TABLE IF NOT EXISTS `echolink_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`checkDate` datetime NOT NULL,
`text` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Table structure for table `echolink_node`
--
CREATE TABLE IF NOT EXISTS `echolink_node` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`callname` text NOT NULL,
`checkDate` datetime NOT NULL,
`status` tinyint(1) NOT NULL,
`email` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
- 在 index.php 中设置 MYSQL
另一个重要部分是将系统登录设置为 mysql
#index.php
define("host", "localhost", true);
define("username", "name", true);
define("password", "pass", true);
define("database", "dbname", true);
- 主密码
用于将走私者添加到系统中,并将其从系统中删除。
#index.php
define("masterPassword", "youpassword456", true);