View in #dev on Slack
@Declan_Mungovan: I’m trying to create a cron job that sends a scheduled report daily. I’m using bitnami on an aws instance (Mautic Certified by Bitnami-2-15-3-3 on Ubuntu 16-04).
I edited one of the same reports that comes with the install to send a report once every day. The report has id=3. I then edited the list of cron jobs via :
sudo crontab -e
And added the following to the bottom of the list:
**/1 ** ** ** * su daemon -s /bin/sh -c "/opt/bitnami/php/bin/php -q /opt/bitnami/apps/mautic/htdocs/app/console mautic:reports:scheduler --report=3"
But the reports are not being sent. Anyone know what I’m doing wrong?