“Most” time a failing cron job is because it doesn’t have enough memory. You may have allocated enough memory to the install directory, but cron runs on the root directory. Make sure in WHM the “server” is running the appropriate PHP version with at least 768MB of memory.