Cron Job not working
Hello,
the Cron Job is not working. I got the Email about snmp-mib not found. I have it installed in cpanel. why does t not work
-
Hello, hirschbergh Send us a screenshot of the cronjob you added to cPanel, if possible. Please check to see if it includes the timing you set and the command you entered. 0 -
Its the Cron Job for WHMCS. */5 * * * * /opt/cpanel/ea-php74/root/usr/bin/php -q /home/hostteufel/public_html/crons/cron.php 0 -
Hi, it seems snmp module is enabled in the php but the snmp package not enabled in the server. please try install using the following command yum install net-snmp net-snmp-libs net-snmp-utils hope it will work. 0 -
Its Ubuntu so the Code ist not working.. Is this then the Code apt update apt install snmpd snmp libsnmp-dev 0 -
HI, yeah the above yum works only with centos/RHEL based systems. if the server is ubuntu, yes, try with the that apt commands. 0 -
Nope wont work now i get emails which say docytype title critical error could not connect to the database... 0 -
Hi, It seems above module installed and worked. now getting new errors where other modules are missing too from php like msqlnd so please run the command /opt/cpanel/ea-php74/root/usr/bin/php -m and see all necessary modules which needed for the whmcs working is installed or not. 0 -
Thanks, @techAMIGO ! 0 -
Critical ErrorCron Daemon Critical Error
Could not connect to the database.
0 -
[PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom enchant exif fileinfo filter ftp gd gettext gmp hash iconv imap intl ionCube Loader json ldap libxml mbstring mysqli mysqlnd odbc openssl pcntl pcre PDO pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite pgsql Phar posix pspell readline Reflection session shmop SimpleXML snmp soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache the ionCube PHP Loader + ionCube24 0 -
So...? 0 -
If you run the PHP file manually outside of cron, does that work? 0 -
yes it works outside 0 -
It might be time to open a ticket with us so we can check this out. I don't see anything obviously wrong with the PHP configuration that would be keeping this from working. The only other guess I would have would be to try removing the user from CageFS is this is a CloudLinux machine with CageFS enabled, but if not, please create a ticket so we can look into this directly. If you are able to submit a ticket, please post the number here so I can follow along. 0
Please sign in to leave a comment.
Comments
15 comments