<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div><font color="#1F497D">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.</font></div>
<div><font face="Times New Roman" size="3" color="#1F497D"><span style="font-size:12pt;"> </span></font></div>
<div><font color="#1F497D">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.</font></div>
<div><font face="Times New Roman" size="3" color="#1F497D"><span style="font-size:12pt;"> </span></font></div>
<div><font color="#1F497D">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.</font></div>
<div><font face="Times New Roman" size="3" color="#1F497D"><span style="font-size:12pt;"> </span></font></div>
<div><font color="#1F497D">It appears I have an answer.</font></div>
<div><font color="#1F497D"> </font></div>
<div><font color="#1F497D">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.</font></div>
<div><font color="#1F497D"> </font></div>
<div><font color="#1F497D">--</font></div>
<div><font color="#1F497D">Trever</font></div>
<div><font face="Times New Roman" size="3" color="#1F497D"><span style="font-size:12pt;"> </span></font></div>
<div><font face="Times New Roman" size="3" color="#1F497D"><span style="font-size:12pt;"> </span></font></div>
<div><b>From:</b> zendto-bounces@zend.to [<a href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>] <b>On Behalf Of </b>Furnish, Trever G<br>
<b>Sent:</b> Monday, June 06, 2016 7:01 PM<br>
<b>To:</b> zendto@zend.to<br>
<b>Subject:</b> [ZendTo] automatic cleanup of old files not occurring -- where to I start troubleshooting?</div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font></div>
<div>Hello,</div>
<div> </div>
<div>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:</div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><a href="http://mailman.ecs.soton.ac.uk/pipermail/zendto/2015-March/thread.html"><font face="Calibri" size="2" color="#0563C1"><span style="font-size:11pt;"><u>http://mailman.ecs.soton.ac.uk/pipermail/zendto/2015-March/thread.html</u></span></font></a></span></font></div>
<div> </div>
<div>I’m not sure where to start troubleshooting though. Any advice? Is there any documentation on what’s supposed to kick off the cleanup?</div>
<div> </div>
<div>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).</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>--</div>
<div>Trever</div>
<div> </div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font></div>
</span></font>
</body>
</html>