<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>system-cron on</title><link>https://docs.whmcs.com/9-1/tags/system-cron/</link><description>Recent content in system-cron on</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://docs.whmcs.com/9-1/tags/system-cron/index.xml" rel="self" type="application/rss+xml"/><item><title>Enhancing Security</title><link>https://docs.whmcs.com/9-1/installation-guide/initial-configuration/enhancing-security/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/installation-guide/initial-configuration/enhancing-security/</guid><description>Enumerates ten security hardening steps for self-hosted installations: securing writeable directories, configuration.php, and crons, restricting Admin Area access by IP, renaming the admin directory, enabling SSL, and restricting database privileges.</description></item><item><title>Troubleshooting the System Cron</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/troubleshooting-the-system-cron/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/troubleshooting-the-system-cron/</guid><description>Lists linked troubleshooting articles grouped into general Cron Errors and Timezone-Specific Issues categories, and points to Check the Cron Job Status and Cron Failures for further diagnostic steps.</description></item><item><title>Move the Cron Directory</title><link>https://docs.whmcs.com/9-1/installation-guide/initial-configuration/move-the-cron-directory/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/installation-guide/initial-configuration/move-the-cron-directory/</guid><description>Walks through moving the crons directory above the web root, updating cron tasks and email forwarders, editing the crons config.php and configuration.php files with the new path, and updating the system cron command in cPanel.</description></item><item><title>Could Not Connect Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/could-not-connect-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/could-not-connect-errors/</guid><description>Documents the system cron&amp;rsquo;s &amp;ldquo;Could not connect to database&amp;rdquo; error caused by configuration.php misconfiguration or a missing PHP extension, with fixes to verify database settings, TLS certificate matching, and the required PDO, PDO MySQL, and MySQLi extensions.</description></item><item><title>Cron Failures</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-failures/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-failures/</guid><description>Troubleshoots incomplete system cron runs by checking the Activity Log for Cron Job Completed entries, running cron.php from the browser with Display Errors enabled, and running the cron.php command line script with the all -F -vvv verbosity flags to surface the specific task error.</description></item><item><title>Cron Frequency Warnings</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-frequency-warnings/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-frequency-warnings/</guid><description>Covers the Automation Status warning that the system cron has not run within the past two hours, attributes it to an incorrectly configured cron job, and gives the fix of scheduling cron.php to run at least hourly, with every 5 minutes recommended.</description></item><item><title>Cron HTTP Access Denied Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-http-access-denied-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-http-access-denied-errors/</guid><description>Covers the 403 Access Denied error returned by crons/cron.php or the legacy admin/cron.php alias when a direct HTTP request&amp;rsquo;s IP address is not on the Cron HTTP Access Restriction allowlist, and gives the fix of invoking cron via CLI or adding the caller&amp;rsquo;s IP address or CIDR range to the allowlist in General Settings&amp;rsquo; Security tab.</description></item><item><title>Cron Input File Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-input-file-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-input-file-errors/</guid><description>Covers the Could not open input file: /path/to/crons/cron.php error, attributes it to the cron.php file being absent from the configured directory path, and gives the fix of correcting the path and confirming the file exists there.</description></item><item><title>Cron Metrics Polling Timeout</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-metrics-polling-timeout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-metrics-polling-timeout/</guid><description>Covers cron timeouts during Tenant Usage Metrics polling, attributes them to an offline or misconfigured server under Configuration &amp;gt; Servers, and gives steps to remove inactive servers, test each connection, verify Server Name and Port, or disable Update Usage Statistics.</description></item><item><title>Cron System Queue Timeout</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-system-queue-timeout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-system-queue-timeout/</guid><description>Covers cron runs that stall on the Executing System Queue step due to database backup generation and zipping slowing as the database grows, and gives the fix of running system cleanup tasks and disabling FTP/SFTP and Daily Email Backups under Database Backups.</description></item><item><title>Cron Time of Day Issues</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-time-of-day-issues/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/cron-time-of-day-issues/</guid><description>Covers the Daily System Cron Attention Needed warning stating the cron did not execute within its configured hour, attributes it to a misconfigured hosting control panel cron entry, and gives the fix of setting the cron command&amp;rsquo;s Minute field to */5 with Hour, Day, Month, and Weekday set to *.</description></item><item><title>Fatal Memory Size Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/fatal-memory-size-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/fatal-memory-size-errors/</guid><description>Covers the Fatal error: Allowed memory size of 33554432 bytes exhausted message, attributes it to the cron job exceeding a 32 MB PHP memory_limit, and gives the fix of raising memory_limit to 64 MB minimum or 128 MB recommended, in the PHP configuration or the cron command.</description></item><item><title>Intermittent Cron Failures</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/intermittent-cron-failures/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/intermittent-cron-failures/</guid><description>Covers cron runs that complete manually but fail intermittently on schedule, and gives steps to enable Display Errors, append -vvv &amp;raquo; crondebug.txt to the cPanel cron command, and compare the resulting crondebug.txt output against sample failing and successful task-queue runs to find the error.</description></item><item><title>Large Database Backup Failures</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/large-database-backup-failures/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-the-database/large-database-backup-failures/</guid><description>Explains failing or timing-out database backups caused by large database size exceeding PHP and cron processing limits, with fixes recommending cPanel Backup or an external tool like mysqldump instead of FTP or email backups.</description></item><item><title>No Input File Specified Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/no-input-file-specified-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/no-input-file-specified-errors/</guid><description>Covers the No input file specified error emailed every five minutes by the server&amp;rsquo;s cron daemon, attributes it to an invalid cron.php path in the server&amp;rsquo;s cron job configuration, and gives the fix of correcting that file path in the cron command.</description></item><item><title>System Cron</title><link>https://docs.whmcs.com/9-1/system/automation/system-cron/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/system-cron/</guid><description>Lists the cron.php and pop.php cron task commands, the crons directory location, the all/do/help/list/skip arguments and -F/-v/&amp;ndash;email-report/-V/&amp;ndash;no-ansi/-h options, the full table of individual task flags (such as &amp;ndash;CreateInvoices, &amp;ndash;AutoSuspensions, &amp;ndash;DatabaseBackup) with their frequencies, and how to schedule custom task runs or invoke cron via HTTP GET request, which WHMCS blocks by default unless the caller&amp;rsquo;s IP address or CIDR range is on the Cron HTTP Access Restriction allowlist.</description></item><item><title>System Health</title><link>https://docs.whmcs.com/9-1/troubleshooting/system-health/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/system-health/</guid><description>The System Health page, at Configuration &amp;gt; System Health, provides an overview of the WHMCS installation and system environment status, highlights potential configuration and security issues that need attention, indicates whether updates are available for the installed version, and links to the change log and release notes. This page documents each System Health check and its recommended solution, including Automatic Update Requirements, Certificate Authority verified SSL detection, the Cloudflare proxy check, the CloudLinux MySQL extension check, the Cron HTTP Access Blocked check, Cron PHP timezone and PHP version mismatches, cURL, TLS, and OpenSSL version warnings, customising default paths, custom templates, deprecated modules that remain active and configured after an update, error reporting, event handling, invoice immutability, the obsolete invoice mutability variables in the configuration.php file, legacy Smarty tags, MySQL server configuration, OPcache status, permissions, PHP error levels, the PHP memory limit, PHP session support, the PHP version, POP cron ticket import, recommended and required PHP extensions, required PHP functions, secure TLS and SSL support in cURL, the sensitive directory check (including exposed Storage Settings directories and directories that could not be evaluated), system cron tasks, the system URL check, two-factor authentication storage encryption, and website SSL.</description></item><item><title>System Timezone Issues</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/system-timezone-issues/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/system-timezone-issues/</guid><description>Covers timezone symptoms like incorrect timestamps, two-factor authentication code errors, and cron frequency warnings, attributes them to a mismatch between the webserver&amp;rsquo;s and cron engine&amp;rsquo;s PHP date.timezone settings, and gives steps to compare them via SSH before updating the server clock, php.ini, or cron command.</description></item><item><title>Unable to Communicate Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/unable-to-communicate-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/unable-to-communicate-errors/</guid><description>Covers the Unable to communicate with the WHMCS installation error seen with cron.php, pop.php, or pipe.php, attributes it to a customized crons directory, and gives the fix of uncommenting and correcting the $whmcspath line in /crons/config.php to the full WHMCS installation path.</description></item><item><title>Undefined curl_init() Function Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/undefined-curl_init-function-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/undefined-curl_init-function-errors/</guid><description>Covers the Error: Call to undefined function curl_init() message, attributes it to a missing or disabled PHP cURL extension checkable with the php -m command, and gives the fix of installing and enabling the cURL extension.</description></item><item><title>Whoops Exception Errors</title><link>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/whoops-exception-errors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/troubleshooting/troubleshoot-cron-issues/whoops-exception-errors/</guid><description>Covers the Maximum execution time of 30 seconds exceeded Whoops exception, attributes it to the cron job exceeding a 30-second PHP max_execution_time value, and gives the fix of raising it to 120 or 300 seconds or setting it directly in the cron command.</description></item><item><title>Check the Cron Job Status</title><link>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/check-the-cron-job-status/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/check-the-cron-job-status/</guid><description>Shows how to check cron health via the Admin Dashboard Automation Overview widget and the Automation Status page&amp;rsquo;s Ok, Warning, and Error/Not Ok badges, and how to open the Cron Status report to find and resolve individual failed tasks.</description></item><item><title>Configure the System Cron Job</title><link>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/configure-the-system-cron-job/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/configure-the-system-cron-job/</guid><description>Gives copy-paste cron command setup steps for cPanel Cron Jobs, Plesk Scheduled Tasks, DirectAdmin Cron Jobs, and manual crontab entries, including the */5 * * * * schedule and PHP binary paths for each control panel.</description></item><item><title>Configure When Daily Tasks Run</title><link>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/configure-when-daily-tasks-run/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/configure-when-daily-tasks-run/</guid><description>Gives the steps to set the Time of Day value under Automation Settings &amp;gt; Scheduling that controls the hour during which the system cron executes daily tasks, and recommends running the cron every five minutes.</description></item><item><title>Find the Cron php.ini File</title><link>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/find-the-cron-php-ini-file/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/find-the-cron-php-ini-file/</guid><description>Gives two methods to identify the php.ini file used by the cron engine: running php -i | grep &amp;ldquo;Loaded Configuration File&amp;rdquo; over SSH or cPanel Terminal, or writing that output to a phpoutput.txt file from a temporary once-a-minute cron job.</description></item><item><title>Resolve a Cron PHP Mismatch</title><link>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/resolve-a-cron-php-mismatch/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.whmcs.com/9-1/system/automation/cron-tutorials/resolve-a-cron-php-mismatch/</guid><description>Walks through comparing the web server&amp;rsquo;s Loaded Configuration File path in PHP Info against the cron&amp;rsquo;s php.ini path, then resolving a version mismatch via cPanel MultiPHP, and notes the System Health Cron PHP Version Mismatch warning caches until the next daily cron run.</description></item></channel></rss>