Cron job hostinger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fernandoperal45
    Junior Member
    • Dec 2025
    • 3

    #1

    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
  • lazovic
    Super Moderator
    • Jan 2022
    • 1200

    #2
    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

    Comment

    • fernandoperal45
      Junior Member
      • Dec 2025
      • 3

      #3
      I'm still getting the same error.
      Attached Files

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 1200

        #4
        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).

        Comment

        Working...