Skip to content

Migrate crontab from lingualibre.fr to lingualibre.org ? #2

@hugolpz

Description

@hugolpz

@Jitrixis, @Poslovitch : is one of you able to define what is ./crontab for ? Which skills are needed ?

I suspect it requires a Mediawiki / PHP / Backend expertises.

/crontab - understanding

  • STUDY: Inspect and define what is this script for
# Run maintenance scripts on the production instance
00 4 * * * /usr/bin/php7.0 /home/www/lingualibre.fr/maintenance/cleanupUploadStash.php > /dev/null 2>&1
00 5 * * * /usr/bin/php7.0 /home/www/lingualibre.fr/maintenance/rebuildLocalisationCache.php > /dev/null 2>&1
# Run maintenance scripts on the testing instance
15 4 * * * /usr/bin/php7.0 /home/www/v2.lingualibre.fr/maintenance/cleanupUploadStash.php > /dev/null 2>&1
00 5 * * * /usr/bin/php7.0 /home/www/v2.lingualibre.fr/maintenance/rebuildLocalisationCache.php > /dev/null 2>&1
# Other stuff
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
45 2 * * 1 /bin/systemctl reload nginx
30 4 * * * logrotate /etc/logrotate.conf

/home/www/ actual folder structure and /crontab file's paths

  • @mickeybarber : What are the actual folders and paths inside /home/www/ ? Please provide the /home/www/ folder's tree structure for 1, 2 or 3 levels, as necessary so see if it match the various ./crontab file's paths.

Interpretation of results

  • Does the server folder tree matches the paths within the ./crontab file ?
  • Should we edit and migrate ./crontab from lingualibre.fr to new paths values ?

Others

@mickeybarber, in the same server exploration you should bump into the following items which we would gain to document better...

  • V2: does /home/www/v2.lingualibre.fr/ path still exists on the server ? I think this LL version 2 is the current lingualibre.org. So I expect this v2 path and folder the be missing because it got renamed into a .org path and folder. Can you see such thing ?
  • dev: https://dev.lingualibre.org/ (dev version) is online and working. To which actual folder and path does this correspond ?

Note: the 5 points above are nearly the same question = share with us the directory structure so we may see the possible broken paths. This will help us to know which url are outdated and by which to replace them.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions