You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to send recurring invoices, but they don't seem to be made. I looked at the documentation, but it says for docker that I shouldn't add cron? I'm running 6.0.6 on docker-compose
Expected behavior
Recurring invoices should be made and sent to my customer
Screenshots
Please complete the following information:
Crater version: 6.0.6
PHP version: ?
Database type and version: ?
Optional info
OS: Ubuntu 20.04 - docker 20.10.17
Browser: chrome
The text was updated successfully, but these errors were encountered:
not sure if this helps you but if you are using a postgres database with crafter then you also have to amend the ./docker-compose/cron.dockerfile to include installing libpq-dev and install the php extension pdo_pgsql like this:
FROM php:8.0-fpm-alpine
RUN apk add --no-cache \
php8-bcmath libpq-dev
RUN docker-php-ext-install pdo pdo_mysql bcmath pdo_pgsql
COPY docker-compose/crontab /etc/crontabs/root
CMD ["crond", "-f"]
I had the issue that that the recurring jobs were not being processed because when I checked the logs of the cron container docker logs crater_cron_1(or whatever yours container is called) it was showing an error along the lines that the sql driver was not working properly.
Describe the bug
I'm trying to send recurring invoices, but they don't seem to be made. I looked at the documentation, but it says for docker that I shouldn't add cron? I'm running 6.0.6 on docker-compose
Expected behavior
Recurring invoices should be made and sent to my customer
Screenshots

Please complete the following information:
Optional info
The text was updated successfully, but these errors were encountered: