Auto-Archiving Cron

Hi there,

set up a Cronjob for auto-archibing in order to get reports send.
Hoewer, the Cron says: “/usr/local/cpanel/bin/jailshell: /home/xxxxxx/piwik-archive-output.log: No such file or directory

Any idea?

Thanks
Chtrede

What cron command did you set in your cron?

see attached!

Thanks a lot
Chtrede

Are you sure that /home/analytics/ exists and is writable on your server?

Yes, bc that is where Piwik is installed and running smoothly.

can you try remove the extra space after – and before url ?

Hi Matt,

tehre is actually no space, it just looks like it on the screenshot due to the line break.

Cheers
Chtrede

I believe no solution available?

Thanks
Christian

if its cpanel make sure you hAve the absolute path defined perhaps since your path looks relative its not finding the location.

Crons are always in relative path. Never heared that a Cron should be in an absolute path - but tried it anyway and it is not working!

Cheers
Christian

Any more idea?

Thanks a lot!

if the error is": /home/xxxxxx/piwik-archive-output.log: No such file or directory"
it means either the path is not correct, or the cron cannot write this file. maybe try to create this log file first, and assingi it 755 or 777 permission?

777 is assigned, and path is correct :frowning: