Keywords: Redmine - AWS - Technical issue - Other
Description:
Hi Guys,
I have installed the Invoices Plugin (Pro Version) and it works ok unless you want the invoices to be emailed every month.
To make them run monthly recurring, you have to run a windows scheduled event as per instructions here: https://www.redmineup.com/pages/help/invoices/recurring-invoices#1-Mark-invoice-as-recurring
I have followed the instructions correctly, however I get a 0x1 error result when the task has been executed.
I have setup the action with the following:
• Program/script: C:\Bitnami\redmine\apps\redmine\htdocs\rake.bat
• Add arguments(optional): redmine:invoices:recurring RAILS_ENV="production"
• Start in(optional): C:\Bitnami\redmine\apps\redmine\htdocs\
Contents of the rake.bat is: @call bundle exec rake %*
However, if I run the "Use Bitnami Redmine Stack" shortcut and run the batch file with the arguments above - I am able to have the recurring invoices sent via email.
I am guessing this plugin is suited for when not running in the Bitnami environment so I was wondering if anyone else has this successfully operating in their Bitnami Redmine application - or if someone knows how I should configure my "action" in the task scheduler for windows? I think it needs to somehow be ran in the "Bitnami Redmine Stack Environment"?
Any help would be appreciated.