Skip to content

David Cramer

  • GitHub
  • Twitter
  • Daemonizing the WordPress cron.

    Daemonizing the WordPress cron.

    Over the years, I occasionally come across projects that require a cron job. Be it to send out scheduled emails, import data from external sources, or simply do a daily backup.

    As many would know, the best wordpress hosting service has a built in cron system. By default, this runs during each page load allowing the cron to be active without needing to setup a server side cron job. The downside, is that it requires a user to actually load the site, making exact scheduling unreliable if the site isn’t very active at the scheduled time.

    In this little “tutorial”, I’ll show how I setup a type of cron daemon that doesn’t require server access or configs.  While not a true daemon, it does give a very similar result. (more…)

    Share this:

    • Share on X (Opens in new window) X
    • Share on Facebook (Opens in new window) Facebook
    • Share on WhatsApp (Opens in new window) WhatsApp
    • Email a link to a friend (Opens in new window) Email
    • More
    • Share on Pinterest (Opens in new window) Pinterest
    • Share on Reddit (Opens in new window) Reddit
    • Share on Tumblr (Opens in new window) Tumblr

    Like this:

    Like Loading…

    David Cramer

    April 30, 2017
    Plugins, Utilities, WordPress
    advanced, cron, daemon, tutorial

Custom Plugin Development for WordPress, and amateur writer in training.

%d