How to Setup Real Cron job on WordPress on your Shared Hosting Account

Why use Real Cron job vs the scripted one?

I’m writing this because I realized the dates on my posts were not updating. This scripted cronjob was not working, instead I would use a real linxu command line cron job. Cron jobs keep your linux machine clean, because they clear cache and freeup memory. The error logs get bigger and bigger. By using cron job one can clean their linux servers hard drive. Less reading for the linux server. Hence faster run website.

First open wp-config.php using ftp or file manager.

type in this line of code in the file:

define( 'DISABLE_WP_CRON', true );

Save and your done with this part. Next.

  1. Log into Cpanel
  2. Under Advanced, click on Cron Jobs
  3. Under Add New Cron Job, choose “Once an hour” for Common Settings
  4. Enter this command [replace yoursite with your own domain name]
    wget -q -O – >/dev/null 2>&1
  5. click Add New Cron Job


This part you may or may not have cron job email you if the cron job is successful or fails. I would recommend you put it one for a day. If it’s all fine and dandy. I would just turn it off because cron jobs are automatic.


Be careful of using cron job less than 15 minute intervals your webhost might be against it. So read the rules  before you do too quick of cron jobs. Plus cron job are scheduled automatic tasks.

My Website is Updated to Cloudflare

I updated this website to cloudflare, it was very easy to set up. Now, my website is running way faster than being on shared hosting. I know I know, what am I thinking? Should I upgrade to cloudflare? Well, yes for security purposes. This is a win. By doing so my spam has been down by a lot. It blocks a lot of bad IP ranges. This keeps the good guys in and all the bad guys out.

Cloudflare is awesome it offers SSL protection too if you need it but you can get a cheap ssl certificate from outside vendor which I recommend because you don’t want your information scene by man in the middle attack. Firesheep. But most modern website have ssl. Make sure when your buying something or logging into a website you see https. Https is very important. This will encrypt your log in session. You do not want the bad guys to see you.

With cloudflare now, it automatically makes your website way faster? How may you ask? It has cdn hosts, minifier, and caching. Basically, if your webhost is down they cached your website so it’s still browse-able. That is  amazing feature that cloudflare is offering.

Cloudflare has 6 main features:

  • CDN
  • DNS
  • Optimization
  • Security
  • Analytics
  • Apps

I made the right choice and my load times on this website went from 5 seconds to 3 seconds. That is a huge difference. Now, you guys can browse my website faster. There should be zero hiccups. For everyone else is wondering if they should cloudflare? Get it, if it’s offered on your cpanel it’s just a click to install. If you don’t then just follow their steps at cloudflare and they will have it up within 24 hours.

Anyways, thanks for reading my quick rant about cloudflare.

How to Install Composer on Xampp Windows 8

Prior to this please install xampp first.

Recently, I started to learn Laravel and I wanted to install package handler for windows. Composer is package handler for php. It’s basically it grabs scripts from using command line. Also known as CMD. It’s an alternative to another way of doing which is to installing virtual machine with virtualbox and vagrant.

I have provided my settings for php.ini 

Unzip and place all the files in


Then install composer.

Download composer

Click next -> next, you should get this screen.


C:\xampp\php\php.exe install composer in that directory.

Then win + r type in “cmd” without quotes. Basically, launch cmd.



Then when in cmd type in composer -v



If you see this screen you have successfully installed composer. Use command line to get into xampp htdocs to create the script in that directory. Command cd.. [go back]

type in cd xampp

type in cd htdocs



alt+space to paste in

composer create-project laravel/laravel --prefer-dist [foldername]


You may follow the install documentation from here

In the xampp control panel turn on apache and mysql


Navigate to public folder in your browser laravel/public/

In other words:

Type that in the web browser address bar



Laravel 4.2 Script Download

Super Mario World – Game



A – Jump
S – Fireball

Arrow Keys to Move

I do not own mario, mario is copyrighted by nintendo. This is only for educational and for fun purposes only. This game is not hosted by me. This is just iframe. It is hosted by

Sonic The Hedgehog Game



Copyright Notice:

I do not own copyright to sonic, Sonic is owned by SEGA. This is here only for education purposes. This game is hosted and iframe linked from