NiceRsx2002
09-09-2002, 07:15 PM
How do I delete site log files automaticly on Ensim? And I have too many to go through and delete manually
![]() | View Full Version : How to Delete Apache Log Files Manually NiceRsx2002 09-09-2002, 07:15 PM How do I delete site log files automaticly on Ensim? And I have too many to go through and delete manually davidb 09-09-2002, 07:19 PM you could create a cron job that runs A. a shell script that automaticly deletes B. A cron job that runs a perl program that deltes the files NiceRsx2002 09-09-2002, 08:13 PM I have no idea how to write that script there has to be one already made.. anyone know were to get one? davidb 09-09-2002, 09:50 PM Go with a shell script. All it is, is a script that contains regular commands. Its like a windows autoexec(but with more options) for an example, make a file, test.sh, in it just put pwd Then make sure it has executable permissions, and do ./test.sh and see what happens, then take it from there. Search the web, you can get more help on it. I think it is important that you do this on your own. |