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

    321
    33
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +46
    Local Time:
    11:35 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

    51,255
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    7:35 AM
    Nginx 1.25.x
    MariaDB 10.x
    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

    321
    33
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +46
    Local Time:
    11:35 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

    51,255
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    7:35 AM
    Nginx 1.25.x
    MariaDB 10.x
    that's because centmin mod php binary is at /usr/local/bin/php not /usr/bin/php