yawik / jobs-by-mail
此模块允许通过电子邮件订阅最新工作
v0.3.3
2020-06-03 17:54 UTC
Requires
- laminas/laminas-dependency-plugin: ^1.0
- yawik/applications: ^0.34
- yawik/auth: ^0.34
- yawik/composer-plugin: ^2.0
- yawik/core: ^0.34
- yawik/cv: ^0.34
- yawik/geo: ^1.1
- yawik/jobs: ^0.34
- yawik/organizations: ^0.34
- yawik/settings: ^0.34
Requires (Dev)
- phpunit/phpunit: ^5.7
- yawik/behat: >=0.32
This package is auto-updated.
Last update: 2024-09-04 17:10:57 UTC
README
此模块允许用户通过电子邮件订阅最新职位发布
构建状态
需求
运行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