skip to Main Content

Run Python script on CPANEL

I am absolutely not able to figure this out myself, please give me a hint before I go crazy :) My ultimate goal is to execute a python script daily automatically. I have never done anything like this before and…

VIEW QUESTION

Cron Job on cPanel not running

I'm trying to run a cronjob in cPanel which gives me the following error: Fatal error: Uncaught Error: Class 'mysqli' not found in /home/example/public_html/new_facebook_csv/csv_generator1.php:180 If run that file through browser by using the link example.com/new_facebook_csv/csv_generator1.php i get the right resaults…

VIEW QUESTION

Cpanel Cron Job Php Global Variable

The cron job process works, but it doesn't read global variables like $ _SERVER in php. Cron Job Code: /usr/local/bin/ea-php72 -q /home/userName/public_html/folderName/folderName2/phpFile.php PHP Code: print_r($_SERVER['DOCUMENT_ROOT']); How do we get it to read these global variables?

VIEW QUESTION
Back To Top
Search