Piwik and cron task

Discussion in 'Server Operation' started by Chag, Nov 12, 2016.

  1. Chag

    Chag New Member

    Hi,
    I have Latest 3.1.1p1 ispconfig on up to date Debian Jessie 8.
    I installed latest piwik. Everything seem to work well except I can't automate the archive task as explained in the piwik doc

    I added the task in the cron tab of my ispconfig like this :
    5 * * * * /usr/bin/php5 /var/www/mypiwik.website.com/web/console core:archive --url=mypiwik.website.com/

    But nothing happens. No log in private directory, no log anywhere. Like the task is not run.
    If i'm logged as root on my server, I can run the command manually and it works. output is ok.

    would anyone have an idea ?
     
  2. Christian Roth

    Christian Roth New Member

    Are you sure the crontab is enabled?

    In situations as this, it helps to do a "touch /tmp/test; " on the same line. Paste this in front of your php command. That way you can confirm if at tleast the cron is running.
     

Share This Page