docker compose install vs crontab for scheduled jobs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmincone
    Junior Member
    • Aug 2025
    • 1

    #1

    docker compose install vs crontab for scheduled jobs

    I've spent over 3 hours trying to understand where I went wrong setting up crontab. All my jobs were working before but are no longer. I'm thinking of starting from the beginning.

    I installed via docker compose. Navigated to Administration>Scheduled Jobs.

    Now this is where I get stuck. Another user who was assisting me with this issue on github stated that if I install via docker there is nothing further to do.
    Under scheduled jobs I am instructed to copy and paste this...

    Note: Add this line to the crontab file to run Espo Scheduled Jobs:
    * * * * * cd /var/www/html; /usr/local/bin/php -f cron.php > /dev/null 2>&1

    Do I need to?

    And if so which crontab on my docker host, the one in /etc or right inside the directory where the docker compose file is?

    Very confused and would appreciate any help that can be provided.
Working...