- Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal
- Mac OS X – Force Spotlight Search to Index a Network Folder
- Mac OS X – Install Yosemite/El Capitan via USB Thumb Drive or How to Get the DMG Image
- Mac OS X – Install Zabbix Agent from Source
- Mac OS X El Capitan – Cannot Restart into Boot Camp Partition
- Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original
- Mikrotik Scripting – Array Pop Function
- Mikrotik Scripting – Array Push Function
- Mikrotik Scripting – Function to Split an IP Address into an Array
- Mozilla Firefox 51.0.1 Runs Extremely Slow
- MySQL Script – Alter/Convert All Tables in a Database from MyISAM to InnoDB
- NextCloud – Purge Music Library from DB
- NextCloud – Rescan Music Library for All Users
- OpenMCU-ru – DSCP Based QoS Packet Tagging Rules for Linux IP Tables
- Outlook 2010 – Crashes Upon Opening Emails with Embedded Pictures
- Outlook 2010 – Only Starts in Safe Mode
- Outlook 2010 Hijacked
- pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files
- PHP – Simple PDO Class for Connecting to a MySQL Database
- Playstation 4 – Cannot Connect to the PSN Using Comcast Gateway
- Polycom RealPresence Desktop – Do Not Minimize to Taskbar Tray
- Polycom RealPresence Desktop – Windows QoS Registry Settings
- PowerShell Script – Generate DFS-R Health Reports and Email Them
- Putty – Import/Export Your Saved Sessions List and Settings
- Raspbian – How to Run X11vnc on Startup
Bash Script – An Alternative to Logrotate.d for Asterisk Log Files
For the longest time, I was having trouble getting the log rotate daemon to work properly with Asterisk. I tried using both postrotate and prerotate options on Ubuntu Server and no matter what, I always ended up with dozens or even hundreds of files if I wasn’t keeping a close eye on them. I never figured out why or wanted to spend a ton of time searching for answers but for some reason, the numbering on the log files would always get messed up and it would start adding extra periods on the end of the filenames and everything would get all out of whack.
Continue reading “Bash Script – An Alternative to Logrotate.d for Asterisk Log Files”
