mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2025-09-09 22:19:29 +00:00
add redmine_receive_imap cron
This commit is contained in:
14
roles/easyredmine/templates/redmine_receive_imap.j2
Executable file
14
roles/easyredmine/templates/redmine_receive_imap.j2
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd {{ redmine_root_dir }}
|
||||
|
||||
/usr/local/bin/bundle exec rake \
|
||||
redmine:email:receive_imap \
|
||||
RAILS_ENV="production" \
|
||||
project=sysdba \
|
||||
allow_override=project,tracker,priority,category \
|
||||
host=imap.gmail.com \
|
||||
port=993 ssl=SSL \
|
||||
username={{ smtp_username }} \
|
||||
password={{ smtp_password }}
|
||||
|
Reference in New Issue
Block a user