posted 18 years ago
I assuming you are using some type of "unix" operating system, so I would start of by using the "man" pages, by typing
Crontab is used to manage the file of scheduled jobs that is executed by the cron process. Each user has their own crontab file.
So, I would suggest you insert whatever command you are going to use to clear the log in a scripting file i.e. perl, korn shell, shell or bash, and have cron execute the script.
If you require root access to remove the log file, then root will have to run the script in their crontab file.
I hope this helps.