yawik/jobs-by-mail

此模块允许通过电子邮件订阅最新工作

安装量: 3,479

依赖项: 2

建议者: 0

安全: 0

星标: 1

关注者: 4

分支: 1

开放问题: 1

类型:yawik模块

v0.3.3 2020-06-03 17:54 UTC

This package is auto-updated.

Last update: 2024-09-04 17:10:57 UTC


README

此模块允许用户通过电子邮件订阅最新职位发布

构建状态

Build Status Coverage Status

需求

运行YAWIK

安装

推荐

git clone https://github.com/yawik/JobsByMail.git
cd JobsByMail
composer install
composwe serv

这将安装所有必需的yawik模块到verdor目录中,并启动一个开发服务器,您可以通过https://:8000访问您的yawik

如果您已经有一个运行的YAWIK安装,您可以通过以下方式添加模块:

composer require yawik/jobs-by-mail

配置

通过创建bin/console工具提供的来启用模块

--------------------------------------------------------------------------------------------------------
JobsByMail
--------------------------------------------------------------------------------------------------------

Send jobs by mail emails
  console jobsbymail send [--limit] [--server-url]    Sends emails with relevant jobs to search profiles                                                 
  console jobsbymail cleanup                          Purges stale inactive search profiles                                                              

  --limit=INT            Number of search profile to check per run. Default 30. 0 means no limit                                                                               
  --server-url=STRING    Server url including scheme. E.g.: https://domain.tld    

因此,创建一个用于发送邮件和清理未确认订阅的cron作业。

示例

5  *    * * *   root    /var/www/YAWIK/bin/console jobsbymail send --limit=100 --server-url=https://domain.tld
10 1    * * *   root    /var/www/YAWIK/bin/console jobsbymail send cleanup

文档

http://yawik.readthedocs.io/en/latest/modules/jobs-by-mail/index.html

许可证

MIT