WP-Cron is how WordPress handles time-based job scheduling on sites. Sort of like the Linux cron utility. But WP-Cron could be very resource intensive since it executes on every page load. I share some insights/solutions to the problem in this post.
Linux & Servers
What is life without Linux? Browse this category to explore content I have created relating to Linux and Servers. This section is pretty broad. It promises content on Ubuntu, cloud VMs, server automation, bash scripting, PowerShell, system/website administration, AWS, etc. Watch this space for my existing and future content on the aforementioned technologies.
Whether you are a techie or a regular Internet user, it is very likely that you have come across the frustrating “500 Internal Server Error”. This article explains what it is exactly. It discusses what causes the error, and what may be done to fix it.
I remember having to terminate an entire Amazon EC2 instance because I somehow lost access to it via SSH. Well, looking back, termination really wasn’t necessary. Using the simple process described here, you can easily regain access to the AWS EC2 instance that you locked yourself out of.
So you want to access your Ubuntu Server like you would a regular desktop – with a graphical front end instead of just a terminal. This tutorial explains how you can do this using Virtual Network Computing (VNC). Since I’m a big fan of Amazon Web Services (AWS), I will be explaining how to set up VNC for Ubuntu on Amazon EC2. However, the general procedure described here will work for any normal Ubuntu server setup.
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
On Amazon EC2, the instance type you choose determines the amount of physical memory (RAM) that you get. Larger instance types with lots of RAM are more expensive. So if you want more RAM on a medium or small EC2 instance, you can define some storage space on your disk to act as RAM when needed. The disk area you use for this purpose is called a swap file. This article explains swap files and demonstrates how to set up a 2GB swap file using ephemeral storage on an m3.medium instance of Amazon EC2 that has only 3.75GB of RAM by default.