Skip to content

Retention Methods

Ross L. Mersch (Mike) edited this page Dec 1, 2024 · 2 revisions

Permanent Sharing

  • Files are stored indefinitely in a specified directory.
  • Suitable for scenarios where long-term access to uploaded files is required.
    ⚠️ Not wise for PAS/IMPACT Systems, works best only for internal.

Temporary Sharing

  • Files are stored temporarily and require scheduled cleanup tasks.
  • Example: Use a cron job to execute cleanup scripts like clean.php:
php clean.php

Runs every day at midnight.

0 0 * * * /usr/bin/php /srv/mount/cleanup.php

Clone this wiki locally