[ZendTo] Abandoned files in 'incoming'
John Thurston
john.thurston at alaska.gov
Wed Dec 2 23:33:03 GMT 2020
a'yep, that job is there, and running the 'find' command interactively
returns appropriate files.
I don't recall how old the files were the last time my disk-full alarm
went off and I shoveled it out. It is possible that job was just about
to trigger and I was premature. It is likely that our increased use of
this tool is simply over-running my small disks.
I have two more questions:
1) I see a reference in the preferences:
// This is where your drop-offs are stored.
// It must be on the same filesystem as /var/zendto/incoming, and
// on preferably on the same filesystem as /var/zendto.
'dropboxDirectory' => NSSDROPBOX_DATA_DIR."dropoffs",
Why the "same filesystem" requirement for 'incoming' and 'dropoffs'?
2) The lines above define 'dropoffs'. Where is 'incoming' defined?
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska
On 12/2/2020 1:57 AM, Jules wrote:
> There should be a cron job that cleans these up for you.
> It should be in /etc/cron.d/zendto.
> The relevant line in that file is this one:
>
> 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440
> -delete >/dev/null 2>&1
>
> This will fire every 4 hours, deleting any files in /var/zendto/incoming
> that are more than 24 hours old.
More information about the ZendTo
mailing list