I have still been experiencing issues with the EspoCRM VM image and cron.
Previously via these forum posts, some inroads were made, but not sufficient for my case.
I checked the crontab as suggested in the instructions.
It seems that this part was complete and set up properly in the image I pulled and installed ( EspoCRM 5.0.5-0 (64-bit) ).
Here is what I have found and done to get it up and running:
1) I checked to see if the crond was running
$ sudo /etc/init.d/cron status
which was not the case and so I started it:
$ sudo /etc/init.d/cron start
-> I suggest bitnami look into having cron up and running for this image.
2) I checked the cron job and the directories. It turns out, that the folders the log should be written to did not exist:
$ sudo mk /opt/bitnami/apps/espocrm/htdocs/var
$ sudo mk /opt/bitnami/apps/espocrm/htdocs/var/log
$ sudo chown -R bitnami:daemon /opt/bitnami/apps/espocrm/htdocs/var
-> Please look into this as well
3) Finally, noticing that the job was not producing a log file, a search pointed me to the Espo Forum, suggesting sudo'ing in the cron job
So I added sudo to the cron jod (I also tried a "-u daemon" version, but without success):
*/1 * * * * sudo /opt/bitnami/php/bin/php /opt/bitnami/apps/espocrm/htdocs/cron.php cron:run -vvv 2>&1 >> /opt/bitnami/apps/espocrm/htdocs/var/log/espocrm-cron.log #espocrm-cron
-> I'm pretty sure that this is not the best solution, but for the time being is seems to work. I'm sure something more elegant can be found and incorporated into the image.