When I use command line to execute the script, it will output log file.
But when I use crontab to execute scheduler.php and want to output, it can't output log......
This is my code
$scheduler->php(dirname(__FILE__).'/test/test.php')->everyMinute()->output('log/crontab.log', true);
Am I wrong?
When I use command line to execute the script, it will output log file. But when I use crontab to execute scheduler.php and want to output, it can't output log...... This is my code
$scheduler->php(dirname(__FILE__).'/test/test.php')->everyMinute()->output('log/crontab.log', true);
Am I wrong?