Hi,
I can't get the cron job to work and therefore mass mailings don't send out anymore. I need them to go out
I have a Turnkey Linux VM (Debian) with EspoCRM version 7.0.10 that iwasmigrated from a full backup from a different install.
The reason why it's not the newest EspoCRM is explained in detail later in this post, please bare with me.
I'm having difficulties getting the cron job to work. Espo tells me cron jobs are not working and to set them up as explained in: https://docs.espocrm.com/administrat...etup-a-crontab
Administration -> planned jobs tells me to put this in crontab:
My espo path:
which php:
ps aux | egrep '(apache|httpd)' gives:
infos on cron.php in /var/www/espocrm:
I pasted
into
(root)
and
Rebooted the machine, nothing has helped, cron jobs are still listed as being off.
Any help solving this would be greatly appreciated!
The reason why it's not the newest EspoCRM:
1. we just migrated to this new VM from a backup of an old, hosted EspoCRM and need to test if everything works before upgrading
2. when upgrading via cli there is a hickup. I can upgrade numerous times up to 7.0.10. For newer versions of Espo, I need a newer php. After installing php 8.0/8.1, the "php command.php update" command does not work anymore. Upgrading to the newest php 8.xx version fixes the updater, but now it can't update because php is too new. This is a problem with a lower priority right now.
I can't get the cron job to work and therefore mass mailings don't send out anymore. I need them to go out
I have a Turnkey Linux VM (Debian) with EspoCRM version 7.0.10 that iwasmigrated from a full backup from a different install.
The reason why it's not the newest EspoCRM is explained in detail later in this post, please bare with me.
I'm having difficulties getting the cron job to work. Espo tells me cron jobs are not working and to set them up as explained in: https://docs.espocrm.com/administrat...etup-a-crontab
Administration -> planned jobs tells me to put this in crontab:
Code:
* * * * * cd /var/www/espocrm; /usr/bin/php -f cron.php > /dev/null 2>&1
Code:
/var/www/espocrm
Code:
/usr/bin/php
Code:
php -v: PHP 8.1.28 (cli) (built: Apr 24 2024 19:23:49) (NTS)
Code:
www-data
Code:
-rw-r--r-- 1 www-data www-data 1.5K Mar 15 2023 cron.php
Code:
* * * * * cd /var/www/espocrm; /usr/bin/php -f cron.php > /dev/null 2>&1
Code:
crontab -e
and
Code:
crontab -e -u www-data
Any help solving this would be greatly appreciated!
The reason why it's not the newest EspoCRM:
1. we just migrated to this new VM from a backup of an old, hosted EspoCRM and need to test if everything works before upgrading
2. when upgrading via cli there is a hickup. I can upgrade numerous times up to 7.0.10. For newer versions of Espo, I need a newer php. After installing php 8.0/8.1, the "php command.php update" command does not work anymore. Upgrading to the newest php 8.xx version fixes the updater, but now it can't update because php is too new. This is a problem with a lower priority right now.
Comment