<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Adam Whitlock</title>
    <description>The latest articles on DEV Community by Adam Whitlock (@codestuff2).</description>
    <link>https://dev.to/codestuff2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F103717%2Fc30e1804-0117-45f2-b09d-cbe41faf7fc4.jpg</url>
      <title>DEV Community: Adam Whitlock</title>
      <link>https://dev.to/codestuff2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codestuff2"/>
    <language>en</language>
    <item>
      <title>Cliplo a modern clipboard manager and productivity tool.</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Sat, 15 Aug 2020 03:57:12 +0000</pubDate>
      <link>https://dev.to/codestuff2/cliplo-a-modern-clipboard-manager-and-productivity-tool-30lj</link>
      <guid>https://dev.to/codestuff2/cliplo-a-modern-clipboard-manager-and-productivity-tool-30lj</guid>
      <description>&lt;p&gt;So I made a thing.&lt;/p&gt;

&lt;p&gt;My clipboard needs love, and I would love more visibility for said clipboard throughout the day.&lt;/p&gt;

&lt;p&gt;Cliplo is an app to manage your clipboard history.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0QqQQDx7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/adamwhitlock1/cliplo-quasar/raw/master/docs/images/cliplo-cover.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0QqQQDx7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/adamwhitlock1/cliplo-quasar/raw/master/docs/images/cliplo-cover.png" alt="cliplo screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/adamwhitlock1/cliplo-quasar"&gt;https://github.com/adamwhitlock1/cliplo-quasar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An application that tells you where you clipped things from, and possibly what you were working on.&lt;/p&gt;

&lt;p&gt;The 'clipboard manager' can do more, and it should do more.&lt;/p&gt;

&lt;p&gt;Check out github for an open source repo of the application, and all contributions are welcome.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

</description>
      <category>vue</category>
      <category>electron</category>
      <category>tailwindcss</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Placeholder images of animals. A simple PHP service.</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Mon, 02 Sep 2019 05:33:56 +0000</pubDate>
      <link>https://dev.to/codestuff2/placeholder-images-of-animals-a-simple-php-service-181m</link>
      <guid>https://dev.to/codestuff2/placeholder-images-of-animals-a-simple-php-service-181m</guid>
      <description>&lt;p&gt;I whipped up a fun little placeholder image service called Wildcard.fun.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wildcard.fun"&gt;https://wildcard.fun&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The idea was to make a service that would generate any size image you wanted as a placeholder and size/crop the image to those dimensions.&lt;/p&gt;

&lt;p&gt;For the basic structure of the application, I used vanilla PHP in combination with a fast router called "PHRoute - Fast request router for PHP".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/mrjgreen/phroute"&gt;https://github.com/mrjgreen/phroute&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In order to resize, crop, and compress the images based on the request I used ImageMagick for that.&lt;/p&gt;

&lt;p&gt;The images come from Unsplash.com as well.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CcUitz-u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://wildcard.fun/r/400/400" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CcUitz-u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://wildcard.fun/r/400/400" alt="image of animal"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Give it a shot!&lt;/p&gt;

</description>
      <category>php</category>
      <category>design</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>Theme your app with Styled Components 💅 in Vue</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Tue, 28 May 2019 14:41:33 +0000</pubDate>
      <link>https://dev.to/codestuff2/theme-your-app-with-styled-components-in-vue-28h0</link>
      <guid>https://dev.to/codestuff2/theme-your-app-with-styled-components-in-vue-28h0</guid>
      <description>&lt;p&gt;Styled components are popular in the React community, and they give your components the power of css in js.&lt;/p&gt;

&lt;p&gt;Vue can also use styled components via the vue-styled-components module.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn add vue-styled-components
npm install vue-styled-components
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Using styled components is one way that you can create some interesting components.&lt;/p&gt;

&lt;p&gt;In the following example, we can create a button that accepts props for various styling, and can then be mapped to input elements to allow for real time styling updates of the button.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;



&lt;p&gt;Now, anywhere in our application we can use this styled component, and even bind dynamic data to these props.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;The above example shows us importing in the StyledButton.js, and then using this component in a vue single file component in a way that binds a few input elements to the data as well.&lt;/p&gt;

&lt;p&gt;&lt;iframe src="https://codesandbox.io/embed/544xnq47pl"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;I usually like to use Tailwind CSS with my projects, so I will often add that into the mix as well. Here is another example of a similar idea with a styled component button.&lt;/p&gt;

&lt;p&gt;&lt;iframe src="https://codesandbox.io/embed/codesandbox-1ne69"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;This example, also utilizes some simple transitions, toggle method, an alert that shows the current styling data, and an example of a more "static" version of the button along with the dynamically styled button.&lt;/p&gt;

&lt;p&gt;Once these values are saved to something like local storage, or a user's preferences in a database, you can then use them to style the application dynamically.&lt;/p&gt;

&lt;p&gt;I'm honestly not even really all that sure how useful this type of implementation is, since using data bound inline styles would offer a similar thing, but a fellow dev that uses react and styled components wanted to know if they were doable in Vue, so I gave it a shot. &lt;/p&gt;

&lt;p&gt;What other ways have you themed your vue applications dynamically?&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>css</category>
    </item>
    <item>
      <title>Vue Game Development With Greensock</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Sat, 20 Apr 2019 05:05:01 +0000</pubDate>
      <link>https://dev.to/codestuff2/vue-game-development-with-greensock-2np7</link>
      <guid>https://dev.to/codestuff2/vue-game-development-with-greensock-2np7</guid>
      <description>&lt;p&gt;Here is a quick mockup that I threw together as a way to run a simple animation based game using vue and greensock.&lt;/p&gt;

&lt;p&gt;Greensock provides the collision detection, and we fire an intersection check for the 2 game elements, which are the line, and the circle. &lt;/p&gt;

&lt;p&gt;The circle, her name is rebecca. Rebecca purple is in the house.&lt;/p&gt;

&lt;p&gt;Next, we fire off the animation and stop the game if the event occurs outside the intersection elements.&lt;/p&gt;

&lt;p&gt;Persistent state through LocalForage will store my current high score.&lt;/p&gt;

&lt;p&gt;I'm not going to lie to you, I can't seem to get above 45.&lt;/p&gt;

&lt;p&gt;Comment your changes/high scores.&lt;/p&gt;

&lt;p&gt;:)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codesandbox.io/s/zlxk5lwqkx"&gt;https://codesandbox.io/s/zlxk5lwqkx&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>frontend</category>
    </item>
    <item>
      <title>I am a full time Vue/Wordpress Dev working in a 500+ employee marketing agency, Ask Me Anything!</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Sun, 31 Mar 2019 18:50:40 +0000</pubDate>
      <link>https://dev.to/codestuff2/i-am-a-full-time-vue-wordpress-dev-working-in-500-employee-marketing-agency-ask-me-anything-4g77</link>
      <guid>https://dev.to/codestuff2/i-am-a-full-time-vue-wordpress-dev-working-in-500-employee-marketing-agency-ask-me-anything-4g77</guid>
      <description>&lt;p&gt;Hey there! My name is Adam. I am a developer and designer, that for the past couple years, has been working at Madwire and Marketing360 full time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://madwire.com"&gt;https://madwire.com&lt;/a&gt;&lt;br&gt;
&lt;a href="https://marketing360.com"&gt;https://marketing360.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I started as a designer (I have a degree in graphic design specifically) but have a passion for design focused development. I live to code, and my primary focus at the moment is Vue, Node, Wordpress, PHP/MySQL and learning other languages whenever I can.&lt;/p&gt;

&lt;p&gt;Currently I am a lead developer for the custom development team at Madwire, and that means that I build and maintain custom solutions for our clients. This type of work includes custom Wordpress plugins, applications, and themes.&lt;/p&gt;

&lt;p&gt;I like to utilize Vue.js when needed to allow dynamic data binding, along with async ajax to interact with the PHP back end of wordpress sites.&lt;/p&gt;

&lt;p&gt;The reason I started this AMA, is that I am trying to get more involved in the Dev community and I would love to help out my fellow developers.&lt;/p&gt;

&lt;p&gt;Ask me anything!&lt;/p&gt;

</description>
      <category>ama</category>
    </item>
    <item>
      <title>I made a game in Vue. Animation/Mechanics with GreenSock, High Scores with LocalForage.</title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Sun, 31 Mar 2019 18:23:23 +0000</pubDate>
      <link>https://dev.to/codestuff2/i-made-a-game-in-vue-animation-mechanics-with-greensock-high-scores-with-localforage-37h2</link>
      <guid>https://dev.to/codestuff2/i-made-a-game-in-vue-animation-mechanics-with-greensock-high-scores-with-localforage-37h2</guid>
      <description>&lt;h2&gt;
  
  
  I had a coworker ask if it would be possible to use Vue to make a simple game. Challenge accepted!
&lt;/h2&gt;

&lt;p&gt;This "Bouncing Game" essentially is just a collision detection mechanic implemented through GreenSock.&lt;br&gt;
&lt;a href="https://greensock.com" rel="noopener noreferrer"&gt;https://greensock.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More specifically, I used the TimelineLite to do most of the animation, and then used the Draggable utility to implement the collision detection used to trigger scoring throughout the game.&lt;/p&gt;

&lt;p&gt;The high scores are saved via LocalForage, which is a great library for using web technologies to save data in a 'semi-persistent' manner.&lt;br&gt;
&lt;a href="https://localforage.github.io/localForage/" rel="noopener noreferrer"&gt;https://localforage.github.io/localForage/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Admittedly, the game resides within a single component, and I probably could refactor it a bit to make it more performant and modular, but I just thought I would share this little 'weekend project' with you all :)&lt;/p&gt;

&lt;p&gt;Give it a shot and let me know what your high score is!&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;center&gt;Take a look at the codesandbox:&lt;/center&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://codesandbox.io/s/zlxk5lwqkx?autoresize=1&amp;amp;fontsize=14&amp;amp;hidenavigation=1&amp;amp;view=preview" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcodesandbox.io%2Fstatic%2Fimg%2Fplay-codesandbox.svg" alt="Edit bounce-game"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;center&gt;Or fork the github repo:&lt;/center&gt;
&lt;/h4&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/adamwhitlock1" rel="noopener noreferrer"&gt;
        adamwhitlock1
      &lt;/a&gt; / &lt;a href="https://github.com/adamwhitlock1/bounce-game-vue" rel="noopener noreferrer"&gt;
        bounce-game-vue
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      a simple vue game. Chris wanted to make a game in jquery like this, so I made one in vue. Uses Vue, LocalForage, and GreenSock
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;bounce-game&lt;/h1&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Project setup&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;yarn install
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Compiles and hot-reloads for development&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;yarn run serve
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Compiles and minifies for production&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;yarn run build
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Run your tests&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;yarn run test
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Lints and fixes files&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;yarn run lint
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/adamwhitlock1/bounce-game-vue" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/adamwhitlock1/bounce-game-vue" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;a href="https://github.com/adamwhitlock1/bounce-game-vue" rel="noopener noreferrer"&gt;https://github.com/adamwhitlock1/bounce-game-vue&lt;/a&gt;

&lt;p&gt;Thanks for checking it out.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>animation</category>
    </item>
    <item>
      <title>Codestuff Dev Journey - Wordpress WP-Cron, Server Based Cron Jobs, and tools for these tricky systems. </title>
      <dc:creator>Adam Whitlock</dc:creator>
      <pubDate>Tue, 26 Mar 2019 02:43:30 +0000</pubDate>
      <link>https://dev.to/codestuff2/codestuff-dev-journey---wordpress-wp-cron-server-based-cron-jobs-and-tools-for-these-tricky-systems--1hjk</link>
      <guid>https://dev.to/codestuff2/codestuff-dev-journey---wordpress-wp-cron-server-based-cron-jobs-and-tools-for-these-tricky-systems--1hjk</guid>
      <description>&lt;h2&gt;
  
  
  Welcome to the first installment on what I hope to be a semi-regular chronicling of my journey as a full time developer and front-end engineer.
&lt;/h2&gt;

&lt;p&gt;Hi, my name is Adam, and I work at a digital marketing company in northern Colorado. My main job responsibility is to work on client requested custom work. This usually falls within building wordpress plugins, applications, API integrations, and the occasional graphic design task.&lt;/p&gt;

&lt;p&gt;I have also been known to take photos, do some woodworking, and hang out in the mountains with my fam.&lt;/p&gt;

&lt;p&gt;You can find some of my work on Github,&lt;br&gt;
Unsplash, Dribbble, and elsewhere.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/adamwhitlock1" rel="noopener noreferrer"&gt;GitHub - adamwhitlock1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/codestuff2" rel="noopener noreferrer"&gt;Twitter - @codestuff2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://unsplash.com/@adam_whitlock" rel="noopener noreferrer"&gt;Unsplash - Photography&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dribbble.com/codestuff2" rel="noopener noreferrer"&gt;Dribbble - Design&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enough about me, let's get this party started.&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fiz3qi5uml0fwjgoctpyj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fiz3qi5uml0fwjgoctpyj.jpg" alt="a color run event I attended"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The purpose of this series is just to get me into the habit of journaling my process of learning code. Hopefully my writing will help someone learn something new and useful as well!&lt;/p&gt;

&lt;p&gt;Off to the races now. One somewhat interesting thing I did today was look at some issues with a website that is supposed to automatically pull in automotive inventory data on a regular basis. It was failing to do this. Enter the wp-cron for Wordpress.&lt;/p&gt;
&lt;h2&gt;
  
  
  WP-Cron, and how it can cause you to pull out your hair.
&lt;/h2&gt;

&lt;p&gt;Wordpress describes the WP-Cron feature as:&lt;/p&gt;

&lt;p&gt;"Cron is the time-based task scheduling system that is available on UNIX systems. WP-Cron is how WordPress handles scheduling time-based tasks in WordPress. Several WordPress core features, such as checking for updates and publishing scheduled post, utilize WP-Cron."&lt;/p&gt;

&lt;p&gt;For more info visit:&lt;br&gt;
&lt;a href="https://developer.wordpress.org/plugins/cron/" rel="noopener noreferrer"&gt;https://developer.wordpress.org/plugins/cron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A lot of theme developers and plugin creators have created features that hook into the wordpress cron system including automated social media posting of content, email scheduling, and more. Recently I built a feature so that once a specific estate sale company had finished their estate sale event, the estate sale was automatically deleted from the site 24 hours after it ended.&lt;/p&gt;

&lt;p&gt;This wp-cron system can be tough to diagnose when you are trying to hook into it and build something cool with it.&lt;/p&gt;

&lt;p&gt;Typically a wp-cron is set up as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Super Simple One Liner (PHP)

&amp;lt;?php
wp_schedule_event( $timestamp, 'daily', 'hook_for_cron_event', $args_for_hook );
?&amp;gt;

// $timestamp (integer)
// When you want the event to start.
// Basically you could set up an event to have it's first execution
// happen in the future by setting this to a UNIX timestamp value in the future.
// I usually just set this value to time() which produces an immediate timestamp
// that way my event starts immediately and conitinues on the inteval of my choosing

// $recurrence ie 'daily' (string)
// How often the event should reoccur.
// The default values are:
// hourly, twicedaily, or daily
// If you need a different recurrence you can create your own
// custom reocurrence schedule.
// (look up the filer cron_schedules for more info on custom schedules)

// $hook_for_cron_event (string)
// This is the name of the action hook that you
// want to execute when the event occurs.
// This is where your write all the stuff you need to do

// $args_for_hook (array) (optional)
// Put any arguments that you need to pass into the $hook_for_cron_event
// into this array. Being optional, it will default to none if you don't provide any args.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Anywho, if you have to work with wordpress crons or debug their potential issues that they could cause, I have a few resources for you.&lt;/p&gt;

&lt;h3&gt;
  
  
  WP Crontrol
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/wp-crontrol/" rel="noopener noreferrer"&gt;https://wordpress.org/plugins/wp-crontrol/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3.amazonaws.com%2Fmadshot%2F37313838608e113f766882139cb80944.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3.amazonaws.com%2Fmadshot%2F37313838608e113f766882139cb80944.png" alt="crontrol plugin"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;WP Crontrol is a plugin that can show you all your currently running wp crons, and also enables you to run these job manually at any time, so that you can debug them easily.&lt;/p&gt;




&lt;h3&gt;
  
  
  Disabling the wp-cron functionality
&lt;/h3&gt;

&lt;p&gt;There are a couple reasons that you may want to totally disable the wp-cron funcotinality on a site. The first reason is that sometimes, especially when you are running several sites on the same server, your sites can cause high cpu/memory load because of the tasks that are running during this wp-cron script.&lt;/p&gt;

&lt;p&gt;You could have tons of different tasks that are registered to this wp-cron functionality, and they all may not, in reality, need to run as ofter as they are scheduled. If you have tons of sites running on the same server this load can compound and slow down the whole server, or even crash the server completely.&lt;/p&gt;

&lt;p&gt;An alternative to this "pseudo" cron is to actually set up traditional, server based, real cron jobs that activate the wp-cron functionality. That way you can control when the wp-cron script runs and set it for a concrete schedule. Your site may only need to really execute a specific wp-cron task every 6 hours, so setting up a regular server cron for this can help a ton.&lt;/p&gt;

&lt;p&gt;To learn more about how the wp-cron is different that traditional crons, and also how to disable the wp-cron, you can check out this helpful article from Kinsta.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://kinsta.com/knowledgebase/disable-wp-cron/" rel="noopener noreferrer"&gt;https://kinsta.com/knowledgebase/disable-wp-cron/&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Server Cron Resources
&lt;/h3&gt;

&lt;p&gt;Traditional server based crontab jobs do admitidly have tough syntax.&lt;/p&gt;

&lt;p&gt;Crontab Guru makes writing traditional cron job syntax a bit easier&lt;/p&gt;

&lt;p&gt;&lt;a href="https://crontab.guru/" rel="noopener noreferrer"&gt;https://crontab.guru/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you do implement traditional cron jobs, the debugging and monitoring of these jobs can be just as tricky as wp-crons.&lt;/p&gt;

&lt;p&gt;Cronitor provides cron monitoring for your servers, and its pretty painless.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cronitor.io" rel="noopener noreferrer"&gt;https://cronitor.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want a quick guide to show you the ins and outs of cron jobs. I refer to this resource from WhoIsHostingThis? all the time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.whoishostingthis.com/resources/cron/" rel="noopener noreferrer"&gt;https://www.whoishostingthis.com/resources/cron/&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  What did I miss?
&lt;/h3&gt;

&lt;p&gt;Do you have tricks or tips to working with wp-cron or regular cron jobs?&lt;br&gt;
A repo of code for common crons you use, or anything else your would like to share?&lt;/p&gt;

&lt;p&gt;What else would you like to to ramble about within the subject of code :)&lt;/p&gt;

&lt;p&gt;Please let me know your thoughts, and thanks for reading!&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>cronjobs</category>
      <category>wpcron</category>
      <category>php</category>
    </item>
  </channel>
</rss>
