[ZendTo] automatic cleanup of old files not occurring -- where to I start troubleshooting?
Furnish, Trever G
TGFurnish at herffjones.com
Tue Jun 7 00:39:52 BST 2016
Replying to myself, first, I'm sorry if that last message came through as something other than plain text - it wasn't meant to. I'm cursed with Outlook+Exchange.
Next, I kept looking through the list archives and noticed this email where Seth Turner has a cron job run by root to execute cleanup.php - I'll try that approach, combined with an abundance of caution in the form of extra backups the first time.
That lead me to "locate zend |grep cron", which lead me to a crontab.html page in zendto docs someone had moved out of the normal location...and that in turn says these three crontab entries should be added to /etc/cron.d/zendto.
It appears I have an answer.
I would still appreciate any other thoughts / advice, as well as any pointers to where this is in the docs online that I've missed, as the docs in my installation appear to have been intentionally moved to an inaccessible spot.
--
Trever
From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Furnish, Trever G
Sent: Monday, June 06, 2016 7:01 PM
To: zendto at zend.to
Subject: [ZendTo] automatic cleanup of old files not occurring -- where to I start troubleshooting?
Hello,
I inherited a zend.to installation that's been working well afaict except that it's not automatically removing old files...which seems to be unexpected based on the presence of cleanup.php and on this discussion in the list archives:
http://mailman.ecs.soton.ac.uk/pipermail/zendto/2015-March/thread.html
I'm not sure where to start troubleshooting though. Any advice? Is there any documentation on what's supposed to kick off the cleanup?
I have checked to be sure that the apache user has the permissions necessary to remove the folders and files in question (and tested doing so on one sample file).
I pondered running cleanup.php by hand as root and passing in the preferences.php file...but this is a production system where I don't have confidence that action would be safe.
--
Trever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20160606/1d98fefd/attachment.html
More information about the ZendTo
mailing list