My cron job does not run automatically

Media Directory

Verified User
Joined
Aug 16, 2024
Messages
5
My cron job does not run automatically. I do not know what to do. I have included a screenshot below. My cron code is the the following:

/usr/bin/php -q /home/magazin2/domains/magazinedirectory.net/public_html/index.php cron > /dev/null 2>&1
 

Attachments

  • Screenshot 2025-02-19 at 5.38.06 PM.png
    Screenshot 2025-02-19 at 5.38.06 PM.png
    901.7 KB · Views: 22
This look like CLI using some unsupported PHP version of that billing software.

If you have multiple PHP version, ensure you using same PHP version between PHP-FPM and CLI,

since PHP-FPM is running fine, so just matching the CLI version with PHP-FPM.
 
Back
Top