<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
if you have shell access, you can run 'crontab -l to<br>
see if you have any existing crontabs.<br>
crontab -e  to edit or create a new crontab with an entry like:<br>
<br>
*     18     *      *      *    /path/to/myscript<br>
<br>
would run a script called myscript every day at 6pm.<br>
If you need to save the data in the file, a script like<br>
<br>
#!/usr/bin/bash
<br>
MYTIME='date $s'
<br>
cat <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>path/to/subjectfile
> /path/to/wherever<span class="moz-txt-tag">/</span></i>$MYTIME
<br>
echo > /path/to/subjectfile
<br>
<br>
would save the current contents of your file to a file named<br>
with a long unique number that represents the number of<br>
seconds since Jan. 1970, and empty 'subjectfile' which is<br>
the file you're worried about.<br>
<br>
If you don't need to save the contents, just use the last line to empty<br>
it every day.  I hope that's something like what you wanted to do<br>
<br>
On 04/04/2011 05:41 AM, a wrote:
<blockquote cite="mid:1301917286.5570.2.camel@desktop" type="cite">
  <pre wrap="">I believe I have ftp with a SFTP-SSH transfer protocol. 

On Sun, 2011-04-03 at 18:22 -0600, Michael wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Do you have to use ftp ?  Or do you have ssh other shell access ?


On 04/03/2011 05:10 PM, a wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Dear Glug;
Does anyone understand how to use cron with filezilla.I would like to
limit the size of a cyclically enlarging file, on a repeating second day
purge cycle.
Regards
Anthony


_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>

   
      </pre>
    </blockquote>
    <pre wrap="">
_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
    </pre>
  </blockquote>
  <pre wrap="">

_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>

  </pre>
</blockquote>
<br>
</body>
</html>