@Starker3 opened this Issue on June 29th 2021

It would quite useful for users to be able to run a script or a console command to automatically create a crontab for the core:archive task.

This would preferably be an interactive command where the user can input specific values or continue with defaults.
For example the user could maybe choose the following:

  • core:archive interval
  • The maximum number of archivers
  • Maximum number of requests per website
  • The Matomo URL
  • core:archive log location (Or to use the default logs folder)

Some more advanced options that can maybe also be set at the same time that the core:archive is being created (As a prompt perhaps) would be the time before the different reports (Day, week, month, year, range) are considered outdated with some defaults and recommendations for better performance.

@Findus23 commented on June 29th 2021 Member

Something like crontab -l | command_that_adds_a_line_in_the_end |crontab - might work on a large amount of setups and doesn't need root access (of course then it is a user crontab and doesn't need the www-data column).

Powered by GitHub Issue Mirror