![]() |
Spider cron Job with WIN in V1.8
I have a problem in V 1.8.0 - Spider cron Job under Windows:
Quote:
Quote:
Spider works on Browser. Is there an other path set for cron jobs in v1.8.0 ? -Roland- |
Hi. The phpdigPrnMsg function is defined in the phpdig_functions.php file. The phpdig_functions.php file is included in the config.php file, and the config.php file is included in the spider.php file.
The include "$relative_script_path/includes/config.php"; line was moved inside the if-else at the top of the spider.php file to allow for the USE_RENICE_COMMAND option in the config.php file. What do you get when you run the following code? PHP Code:
|
Hi,
i put this script to the spider.php folder and call it with test.bat from C:\PHP: Quote:
Quote:
-roland- |
Hi. I agree that it should be two dots. It's weird that the code worked previously because that piece went unchanged between versions. Anyway, what happens if you modify the code in spider.php and force $relative_script_path = '..'; to be set?
|
Okay, i add $relative_script_path = '..'; to Line 75 in spider.php - it works.
For next Version i think there is it userfull to set a Variable in config for the OS: Use_OS: 1/0 ; // 1 - Windows; 0 - Linux (2 MAC ?) In the Scripts you can check which OS and write two codelines for diff. OS if needed, so you no errors. -Roland- |
All times are GMT -8. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.