cron jobs again

Discussion in 'ISPConfig 3 Priority Support' started by unsichtbare, Aug 4, 2017.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I seem to be having trouble with a cron job on ISPconfig 3.1.6 (Ubuntu 16.04). It's just that nothing seems to be happening.
    • Minutes: */3
    • Hours: *
    • Days of month: *
    • Months: *
    • Days of Week: *
    • Command to run: /usr/bin/php -q /var/www/clients/client1/web1/web/owncloud/cron.php
      • Also tried: /var/www/clients/client1/web1/web/owncloud/cron.php
    • Log output: (X)
    • Active: (X)
    I have given cron.php rwxrwxrwx
    The log files are created, but empty:
    Here's the CRON entries from syslog:
    THX for all the help these past days!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The php interpreter is most likely not part of the jail and when you use a jailed cron, then this can't work. Either change command to:

    http://yourdomain.tld/owncloud/cron.php

    or ensure to allow full cron for this client in the client limits, then delete the cronjob and recreate it after you changed that value in client limits. But the way to use just the http url is easier and safer.
     
    unsichtbare likes this.
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I never thought that would work because of the strict headers
     
  4. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I went with
    now it's working with:
    Thanks again for the help.
     

Share This Page