Learn about Centmin Mod LEMP Stack today
Become a Member

Blesta Billing software

Discussion in 'Other Web Apps usage' started by nehafarzana, Aug 8, 2014.

  1. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    8:32 PM
    Hi

    I added this cron yesterday to my crontab -e but it's not running as the blesta giving me notification that the cron is not running :
    Code (Text):
    */5 * * * * /usr/bin/php /home/nginx/domains/mydomain.com/public/blesta/index.php cron



    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:32 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    check /var/log/cron log
    Code (Text):
    tail -100 /var/log/cron | grep blesta
    

    if there's entries listed, then cron is running
     
  3. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    8:32 PM
    it gives me this error repeated many times with blesta( in red color)

    Code (Text):
    Jul 30 04:25:01 cp1 CROND[20673]: (root) CMD (/usr/bin/php /home/nginx/domains/mydomain.com.com/public/blesta/index.php)
    Jul 30 04:30:01 cp1 CROND[21076]: (root) CMD (/usr/bin/php /home/nginx/domains/mydomain.com/public/blesta/index.php)


    Thanks
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:32 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    that's because centmin mod php binary is at /usr/local/bin/php not /usr/bin/php