Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4610 Make Archive.php use PHP CLI instead of Web, more reliable / performant #224

Merged
merged 27 commits into from Feb 12, 2014

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Feb 12, 2014

The implementation of our Cron Archive script should use Php CLI instead of doing Http requests to the webserver. This would remove one system in the middle and should make archive script slightly more reliable.

tsteur and others added 27 commits February 5, 2014 22:07
…k on windows and is only used in CliMulti so far. As the Lock class can be quite useful and maybe needed in other use cases it would be nice to have it somewhere under core or so as it is not directly related to CLI. We might have to move it later again. Need to find a better solution for windows
…e to bootstrap everything again and we already make sure it is only executed from the command line
…ch happens if a subprocess tries to write to a file and the archiver just tries to file_get_content at the same time. So file_exists returned true just a few ms before but while trying to read it fails
…the process probably will not start anyway
…ct the output of php to get output even if piwik exits
…uld assume it works on all systems etc. Only use it for archiving for now
Conflicts:
	plugins/SecurityInfo
	plugins/TasksTimetable
	plugins/VisitorGenerator
	tests/PHPUnit/UI
@tsteur tsteur merged commit f39d3cc into master Feb 12, 2014
@tsteur tsteur deleted the 4610_cli_archiving branch February 25, 2014 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant