Cron jobs do not execute

Discussion in 'Installation/Configuration' started by Niels Terp, Jun 11, 2019.

  1. Niels Terp

    Niels Terp New Member

    Hi, I'm running a website wich include Moodle. Moodle has a php file that should be called once every minute. I have set up this as a cron job, with a * in all fields and the command line /opt/php-7.1/bin/php /var/www/clients/client1/web1/web/moodle/admin/cli/cron.php. I have ticked 'Log output' and 'Active'. However, this does not seem to work. The command is never called, and no log file appears in the private folder.
    When I make the call from a ssh-terminal, it works fine.

    Hope you can help with this.

    Cheers

    Niels
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Try Internet Search Engines with:
    Code:
    site:howtoforge.com cron not starting
     

Share This Page