Monday 31 August 2009 4:49:05 am
Hello, For me everything was solved due only to a misunderstanding of my web hosting provider who was not executing the runcronjobs.php as a php line command but more as a direct call to the file. I don't know if this can help the other members of the forum who initially opened this discussion. If it's not the case, I hope solutions will be found for them. So please if someone can bring answers, thank you for them. Just to try to give some clues to other members of the forum, I created locally a batch file (under my Windows system) and put in it this command line : if you are running a Wamp server :
"C:\wamp\bin\php\php5.2.8\php.exe" "C:\wamp\www\my_website_folder\runcronjobs.php"
pause
NB : the C:\wamp\bin\php\php5.2.8\php.exe must be changed by the path to the php.exe of your Wamp server version If you are running Easyphp, put this :
"C:\Program Files\EasyPHP1-8\php\cli\php.exe" "C:\Program Files\EasyPHP1-8\www\my_website_folder\runcronjobs.php"
pause
NB : the C:\Program Files\EasyPHP1-8\php\cli\php.exe must be changed by the path to the php.exe of your Easyphp server version. Executing the batch file will let you see first if there are no errors (as the pause command freezes the display to let you read what happened during execution) and will allow you to examine if the publication has worked on your local front-office website. I hope it will help. Cheers.
|