Categories
How to execute cron where there is an include?
Hello everyone, cron is not running, in the file that has cron there is a file dbconfig.php include('../dbconfig.php');
Answer the question
In order to leave comments, you need to log in
cd /path/to/script/; php script.php or addchdir(__DIR__);
cd /path/to/script/; php script.php
chdir(__DIR__);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question