Cron job hostinger

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

    #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
    • 1197

    #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

    Working...