Auto-Archiving Cron


#1

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


(Matthieu Aubry) #2

What cron command did you set in your cron?


#3

see attached!

Thanks a lot
Chtrede


(Matthieu Aubry) #4

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


#5

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


(Matthieu Aubry) #6

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


#7

Hi Matt,

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

Cheers
Chtrede


#8

I believe no solution available?

Thanks
Christian


#9

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


#10

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


#11

Any more idea?

Thanks a lot!


(Matthieu Aubry) #12

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?


#13

777 is assigned, and path is correct :frowning: