Trinity wrote:I'm a complete moron when it comes to CRON, etc. Is there an easy way to do this? The installation was fine but when I run php.exe -q newssync.php in the command prompt AND/OR in Internet Explorer, nothing happens.
Furthermore, it would be great if you could perhaps include some button that tests the news config, i.e. whether or not it connects to the news server, if the login/pass is correct, etc.
Since you are running windows, you don't have to worry about CRON -- you get the use windows scheduler (which you can do from the windows start menu) -- but before you can get that setup, you should probably do the following:
1) we need to get it working from the command line first -- what kind of error are you getting?
note: depending on your version of Php, the php.exe might be hidden, it may be in a cli directory with your php dir...
2) once that starts to work, I would create a .bat file to run newssync from
3) then tell windows scheduler to run the .bat file...
I'm actually one step ahead of you - I already tried running this from the command line, and got it to work by going into my actual newssync directory, and then typing this:
Once this happens, I get this:
Then, if I try the command again, I get a complete printout of html code from some page, I think (not sure):
Then, if I run it a third time, I get this:
Of course, one would think that newssync would somehow be running, but nothing comes up on the forum that I specify except one post that has nothing in it. It's very strange.
Also, there is no "newssync_pseudo_cron.php" made whatsoever.