Overview

Setting up a reliable cron system for WordPress is crucial to ensure scheduled tasks (like publishing scheduled posts, checking for plugin updates, and sending out emails) run on time.
All-Inkl offers two methods depending on whether you have root/SSH access or not.


Cronjob Setup WITHOUT Root Access (Standard All-Inkl Hosting)

If you do not have root access (typical for shared hosting at All-Inkl), you must configure cronjobs through the KAS (Kunden-Admin-System) web interface.

Step-by-Step Instructions

  1. Login to the KAS Panel
    https://kas.all-inkl.com

  2. Navigate to: Tools > Cronjobs

  3. Create a New Cronjob

    • Protocol/Path:
      https://yourdomain.com/wp-cron.php?doing_wp_cron

    • Description:
      (Optional, e.g., “WordPress Cron Trigger”)

    • Execution Time:
      Set to “minutely”.

    • Interval:
      Every 5 minutes.

    • HTTP User / Password:
      Leave empty unless your site is HTTP Auth protected.

    • Email Address:
      Leave empty unless you want email notifications every time the cron runs.

    • Active:
      Yes

  4. Save the cronjob.


Important Notes:

  • WordPress’s internal wp-cron.php is visitor-triggered. Without a real cronjob, scheduled tasks may be delayed if your site has low traffic.

  • A real server-side cronjob ensures WordPress tasks are executed regularly, no matter the visitor count.

  • Always use https:// to trigger your site securely.

  • You do not need Chrome or any browser — it’s server-side execution.


Cronjob Setup WITH Root Access (Advanced / VPS / Dedicated Server)

If you have SSH access with root privileges, you can configure a real Linux cronjob manually.

Step-by-Step Instructions

  1. Connect to your server via SSH

    bash
    ssh yourusername@yourserverip
  2. Open your crontab editor

    bash
    crontab -e
  3. Add the following line

    bash
    */5 * * * * wget -q -O - https://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
    • This executes the WordPress cron system every 5 minutes.

    • wget -q -O - fetches the URL quietly (no output).

  4. Save and Exit the editor.


Alternative Command (using cURL)

If you prefer curl over wget:

bash
*/5 * * * * curl -s https://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

Important Notes:

  • Make sure wget or curl is installed.

  • If SSL certificates are not set properly, use curl -k (ignores SSL certificate warnings).

  • The server’s system time must be correctly synchronized (use ntpd or chrony services).


How to Test if Cronjob Works

  • Browser Test:
    Visit:
    https://yourdomain.com/wp-cron.php?doing_wp_cron
    If the page is blank or loads quickly without error → it works.

  • Using WordPress Plugin:
    Install WP Crontrol plugin:

    • Navigate to Tools > Cron Events in WordPress Dashboard.

    • Check if scheduled tasks are running and when they are next due.


Troubleshooting

Issue Solution
“bash: crontab: command not found” You are on shared hosting without root access. Use KAS Cronjob settings.
Cronjob runs but no tasks are executed Make sure the correct URL is triggered. Ensure no caching plugin blocks wp-cron.php.
SSL error on HTTPS cron call Verify SSL certificate installation or use curl -k.

Summary

Setup Type Method Where to Configure
Without Root KAS Web Interface Cronjob https://kas.all-inkl.com
With Root SSH + crontab Server terminal

Both methods ensure your WordPress website runs scheduled tasks reliably without depending on visitors triggering wp-cron.