Maintenance Not Running Error
Maintenance Not Running Error
I guess that my schedule task is not running correctly , and I am not sure what to do about it and what directories need to be in the schedule task poperties area.
I thought I had but I am exactly sure where I need to enter the paths
schtasks /create /tn "TimeTrex Scheduled Jobs" /tr "C:\Program Files\xampp\php\php-win.exe C:\Program Files\xampp\htdocs\Time\maint\cron.php" /sc minute
This is the command that I typed in and it says that the task could not start.
I am not a tech guy and I appoligize for asking stupid questions.
schtasks /create /tn "TimeTrex Scheduled Jobs" /tr "C:\Program Files\xampp\php\php-win.exe C:\Program Files\xampp\htdocs\Time\maint\cron.php" /sc minute
This is the command that I typed in and it says that the task could not start.
I am not a tech guy and I appoligize for asking stupid questions.
In Windows simply run this command as Administrator. Be sure that php-win.exe is in your path!
schtasks /create /tn "TimeTrex Scheduled Jobs" /tr "php-win.exe C:\Program Files\xampp\htdocs\Time\classes\modules\core\..\..\..\maint\cron.php" /sc minute
This is what the maintenancejobs.php file shows me when I view it in a web browser.
schtasks /create /tn "TimeTrex Scheduled Jobs" /tr "php-win.exe C:\Program Files\xampp\htdocs\Time\classes\modules\core\..\..\..\maint\cron.php" /sc minute
This is what the maintenancejobs.php file shows me when I view it in a web browser.
no file php-win.exe
I installed php 5.2.2.
The file php-win.exe could not be found in the directory, or indeed on a whole drive C: search.
My guess is that it didn't install. I tried running the Windows Setup fill again to see if I could find it, but no dice. Nore do I see any refference to it on the PHP site.
Any hints?
Thanks!
The file php-win.exe could not be found in the directory, or indeed on a whole drive C: search.
My guess is that it didn't install. I tried running the Windows Setup fill again to see if I could find it, but no dice. Nore do I see any refference to it on the PHP site.
Any hints?
Thanks!
Fund it!
Ok, if you re-run the window installer, it is under the "script commands" and the "extra" tab (second one down if you expand all the options). It is not well documented, so the description is vuage. You have to know that php-win.exe runds the commands for you with out the executable window.
Anyway, that is where I found it.
Anyway, that is where I found it.