Managing Packages with Rake Tasks
Clean Records of Deleted Packages
To clean records of packages deleted from Faspex, run the following rake task:> asctl faspex:rake packages:clean_deleted OLDER_THAN_DAYS=daysDelete Expired Packages from Custom Inboxes and Workgroup Relays
> asctl faspex:rake packages:delete_expired_packages DELETE_INTERVAL=interval
This rake task iterates through expired packages in custom inboxes and workgroup relays and deletes their contents one by one, waiting the DELETE_INTERVAL in seconds between each delete. The defaul interval value is 5s.