Announcement

Collapse
No announcement yet.

Cron Jobs are not running

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cron Jobs are not running

    Hi Espocrm community! I have just installed Espocrm in Ubuntu 20. It's a fresh install. Every time i go to settings i have a message in red colour that says that cron jobs are not running and suggests to check requirements

    Php requirements are ok
    Php.ini it's ok
    Optional it's ok
    DB it's ok
    Permissions its ok
    Cron jobs ok

    I do not know what i am missing.

    Thank you



  • #2
    you need to activate cron jobs i guess

    Comment


    • #3
      Hi,
      have you tried to open a terminal and type:

      Code:
      crontab -e - u www-data
      Ubuntu is a UNIX-based system. You should be able to run the jobs by following the steps in the documentation:

      https://docs.espocrm.com/administrat...ing-up-crontab


      To setup crontab on Unix-like system, take the following steps:

      1. Login as administrator into your EspoCRM instance.

      2. Go to the Scheduled Jobs section in the administrator panel (Menu > Administration > Scheduled Jobs) and copy the string for the crontab. It looks like this one:
      * * * * * /usr/bin/php -f /var/www/html/espocrm/cron.php > /dev/null 2>&1


      3. Open a terminal and run this command:
      crontab -e -u WEBSERVER_USER


      WEBSERVER_USER can be one of the following “www”, “www-data”, “apache”, etc (depends on your webserver).

      4. Paste the copied string (from step 2) and save the crontab file (Ctrl+O, then Ctrl+X for nano editor).

      Comment


      • #4
        Thank you all! Finally it works! I had the wrong path in the script. Thank you!

        Comment

        Working...
        X