Closed herpiko closed 8 years ago
This script used to remove the old attachment that stored in surelia backend's db. The default livespan time is 24 hours / 36000 seconds.
Usage :
LIFETIME=10 node scripts/attachmentRemover.js
will removes the attachment that uploaded more than 10 seconds from now.
Ok :+1:
This script used to remove the old attachment that stored in surelia backend's db. The default livespan time is 24 hours / 36000 seconds.
Usage :
will removes the attachment that uploaded more than 10 seconds from now.