Remove Old Log Files...

Trying to remove schedule task's old log files but getting permission denied error. There are 100+ log files @ var/log which we need to remove but not successful.

Any suggestion?

Please help.

On your end, you could just use

echo '' > /var/log/logfile

to clear out the file contents.

But to actually delete the files, we would have to do that for you as of right now. Would you like us to delete all scheduled task log files except for the most recent one?

Thanks for the prompt response...

We already executed the command... But Please remove the logs from your end.