Cron Jobs Errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimzhou
    Junior Member
    • Feb 2025
    • 3

    Cron Jobs Errors

    I encountered a strange problem

    I set up email forwarding and it was successful. Then I opened the Cron Jobs. I hope to receive notification emails about assigned customers and registered accounts.

    I am using: EspoCRM-upgrade-8.4.2-to-9.0.4
    Server: hostinger

    I have set up Cron Jobs on hostingers
    Click image for larger version

Name:	WX20250221-100439@2x.png
Views:	77
Size:	64.7 KB
ID:	115347

    Click "view output" and the message "Could not open input file: cron.php" appears.

    I made sure I set the file permissions to 755 or 777.

    The current situation is: I can receive the email notification information of creating customers normally
    But I can't receive the email notification information of assigning customers.

    When I run /opt/alt/php83/usr/bin/php -f /home/u690910408/domains/****.cn/public_html/cron.php, I will receive the email notification information of assigning customers once, but I will not receive it again after that.​
    Attached Files
  • lazovic
    Super Moderator
    • Jan 2022
    • 930

    #2
    Hi kimzhou,

    Please try to use the following command to run in Cron Job on Hostinger:
    Code:
    /opt/alt/php83/usr/bin/php -f /home/u690910408/domains/****.cn/public_html/cron.php > /dev/null 2>&1
    Or this one:
    Code:
    /opt/alt/php83/usr/bin/php -f /home/u690910408/domains/****.cn/public_html/cron.php > /dev/null 2>&1

    Comment

    Working...