Discover Centmin Mod today
Register Now

Blesta Billing software

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

  1. dooma

    dooma Active Member

    308
    32
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +45
    Local Time:
    12:43 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

    49,762
    11,447
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,789
    Local Time:
    8:43 PM
    Nginx 1.21.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

    308
    32
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +45
    Local Time:
    12:43 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

    49,762
    11,447
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,789
    Local Time:
    8:43 PM
    Nginx 1.21.x
    MariaDB 10.x
    that's because centmin mod php binary is at /usr/local/bin/php not /usr/bin/php