Cron job hostinger

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • lazovic
    replied
    fernandoperal45,

    It's crucial that there's only one line for running the cron for a specific EspoCRM instance.

    Try adding one line, and if after five minutes all jobs show the "Pending" status, then move on to the next one.

    Please keep in mind that such lengthy cron setup and line-by-line selection is a problem only with the hosting provider, not with EspoCRM.

    Leave a comment:


  • fernandoperal45
    replied
    They havent work since then...

    Leave a comment:


  • lazovic
    replied
    fernandoperal45,

    The screenshots you provided clearly show that the cron job worked fine on December 24th, but now it's not working (it only worked once, possibly while changing a line in the crontab settings).

    Please try to remember what cron job values ​you used on December 24th. When Dummy's job is no longer listed in the general list of jobs and you see a job with a Success status appearing at least every couple of minutes, this will mean the cron job is working. Only then should you proceed with setting up mass emails, as that's a completely different matter.​

    Leave a comment:


  • victor
    replied
    You may not have the "Is for Mass Email" option selected in your Group Email Account settings.

    Click image for larger version

Name:	image.png
Views:	24
Size:	22.2 KB
ID:	123772
    If the option is selected, please send a screenshot of your Mass Email settings and its Queue Items.

    Leave a comment:


  • fernandoperal45
    replied
    Hi, there you go, I need assistance getting the mass email sending functionality working. It has not been working since I attempted to set up the cron job. I have restarted the service status and changed the configuration, but neither action has resolved the issue.

    Please note that my SMTP and IMAP settings are configured correctly, as individual emails are sending without any problems.

    Thank you in advance for your support.


    Click image for larger version

Name:	Screenshot 2025-12-29 at 2.08.23 PM.png
Views:	28
Size:	185.8 KB
ID:	123769
    Click image for larger version

Name:	Screenshot 2025-12-29 at 2.07.22 PM.png
Views:	20
Size:	421.3 KB
ID:	123768​

    Leave a comment:


  • lazovic
    replied
    fernandoperal45,

    Please ignore the error completely.

    It's much more important to determine whether the scheduled jobs are working at all. Go to Administration > Scheduled Jobs and click the Jobs button in the upper right corner. Review the list and check if there are any entries with a successful status (you can provide a screenshot).

    Leave a comment:


  • fernandoperal45
    replied
    I'm still getting the same error.
    Attached Files

    Leave a comment:


  • lazovic
    replied
    Hi fernandoperal45,

    Please try using the following line:
    HTML Code:
    cd /home/uxxxxxxxx/domains/mydomain.co.uk/public_html; /opt/alt/php83/usr/bin/php -f cron.php > /dev/null 2>&1

    Leave a comment:


  • fernandoperal45
    started a topic Cron job hostinger

    Cron job hostinger

    Hi,

    I’m trying to configure a cron job for EspoCRM on Hostinger, but I’m having trouble getting it to run. I’ve tested the following command via SSH and it works, but it fails when I add it through Hostinger’s Cron Job panel:
    * * * * * cd /home/u874358713/domains/pwest.com/public_html && /opt/alt/php83/usr/bin/php -f cron.php > /dev/null 2>&1

    Has anyone successfully configured EspoCRM cron jobs on Hostinger?
    Any guidance on the correct command or required path would be greatly appreciated. Thanks in advance!
    Attached Files
Working...