Wiki

Call PHP in Cron job

  • Wiki
  • Linux Commands
  • cPanel & WHM Server
  • Call PHP in Cron job

Article sections

    We need php path to call any cron job using php even we are passing any command in command line using php.

    In cpanel / whm, php can be called with /opt/cpanel/ea-php74/root/usr/bin/php

    or

    /opt/cpanel/ea-php72/root/usr/bin/php

    Last Updated: 5 years ago in cPanel & WHM Server, Linux Commands

    Related Articles

    • find Forwarder and Filters of all accounts and users in cpanel whm
    • Redirect HTTP to HTTPS or https://www for a single site using "(dot)htaccess" SSL
    • How To extend/increase KVM Virtual Machine (VM) disk size
    • ‘chattr’ Commands to Make Important Files IMMUTABLE (Unchangeable) in Linuxchmod can not change file permission it means file or folder is protected with "chattr" like d——- folder rights (0000)
    • Postgre does not backup when cpbackup (cpanel backup) as well as jetbackup runs.
    • Install Free cPanel MailScanner Installer
    • Comment a cron job in crontab-e
    • HPE Smart Storage Administrator CLI (ssacli)
    • bash Shell script to send email .sh
    • Find File with different options to check change / modify and crate date
    Copyright 2025 Macro World Softwares
    Wiki