AtlasOfLivingAustralia / fieldguide

Fieldguide generator
https://fieldguide.ala.org.au
0 stars 0 forks source link

Add Quartz plugin to manage cron tasks #11

Closed nickdos closed 10 months ago

nickdos commented 5 years ago

The field guides server recently stopped working due to a disk filling up. This app appears to leave the generated PDFs on disk. The solution was to setup a cron task to delete files older than X days.

I'm suggesting we use the Quartz plugin to achieve the same outcome as cron, as it will ensure that if the application is moved to another server, the scheduled delete job won't be left behind. This has happened with other apps in the past on a few occasions.

ansell commented 5 years ago

Another potential solution to the storage problem is storing the fieldguides in Amazon S3 as we do with the other biocache downloads. Then we could have a biocache-wide solution for pushing things to Glacial or another slow storage when/if the online S3 downloads start to cost too much.

See #12 for the tracking ticket for that

adam-collins commented 10 months ago

S3 option available as a result of #32.

Deployments currently relying on cron to free disk space will need to continue doing so.

Closing because there is no immediate need for this.