I am new to TimeTrex - it seems like Cron Job is working but I get this error in my PHP logs.
[15-Jan-2013 23:36:00 America/New_York] PHP Warning: is_executable(): open_basedir restriction in effect. File(C:\progra~1\php\php.exe) is not within the allowed path(s): (C:\www\timetrex;) in C:\www\timetrex\classes\modules\cron\CronJobFactory.class.php on line 373
Any ideas?
I created the schedule task from cmd.exe in Windows 2003 server:
schtasks /create /tn "TimeTrex Scheduled Jobs" /tr "php-win.exe C:\www\timetrex\maint\cron.php" /sc minute
Thank you.
Cron Job error Windows open_basedir restriction
Re: Cron Job error Windows open_basedir restriction
You will need to disable open_basedir in your php.ini file, or allow it to run C:\progra~1\php\php.exe
Re: Cron Job error Windows open_basedir restriction
Why?
I have scheduled a Cron job through the OS with php-win.exe C:\www\timetrex\maint\cron.php
What does this have to do with:
C:\progra~1\php\php.exe ?
OR my open_basedir restrictions ?
Is this a PHP flaw... Or programmer error...
Thanks, Doug
I have scheduled a Cron job through the OS with php-win.exe C:\www\timetrex\maint\cron.php
What does this have to do with:
C:\progra~1\php\php.exe ?
OR my open_basedir restrictions ?
Is this a PHP flaw... Or programmer error...
Thanks, Doug
Re: Cron Job error Windows open_basedir restriction
The TimeTrex maintenance jobs need to execute PHP to run each job itself, but the way you have PHP setup its preventing that from happening.