Truncate log files – WebCenter Content

Often times the log files in WebCenter Content get very long and difficult to debug. This has to do with how the logs are structured as HTM files (versus in a database). Thus, sometimes it is beneficial to truncate log files (for example when doing multiple Archiver imports). Below is a simple Linux script to run to truncate log files. Replace the path and file info with the log file you want to truncate (and be careful).

No comments yet Leave a Comment

Preventing duplicate cron job executions

Someone writes a script, creates a cron job to execute that script and the script works great, at first. Over time, something changes and the script either starts to take a long time to execute or never completes. The fact that the script never ends is one problem, the other problem is that scripts like the one above keep starting even though another instance of that same script is running.

In today’s article, we are going to cover ways to solve the second issue by preventing duplicate cron job executions.

mp3 audio editor – mp3DirectCut

mp3DirectCut is a fast and extensive audio editor and recorder for compressed mp3. You can directly cut, copy, paste or change the volume with no need to decompress your files for audio editing. This saves encoding time and preserves the original quality, because nothing will be re-encoded. The built in recorder creates mp3 on the fly from your audio input. Using Cue sheets, pause detection or Auto cue you can easily divide long files.