View Full Version : Running Import.php using a cron job...
keithldick
10-31-2007, 07:20 PM
Does this option work?... I set up a cronfolder in public_html and added import.php, xml_php4.php...
The server admin added this to the cron job but it doesn't run...
0 1 * * * /usr/local/bin/php /home/ltgv/public_html/import.php
blank
11-01-2007, 12:55 PM
I would use lynx instead:
lynx -source "http://domain.com/import.php"
I never run PHP in command line. I always use the built in web browser to open things just like a normal user would.
keithldick
11-03-2007, 12:37 PM
Thanks, we got it working now using your lynx code...
blank
11-03-2007, 04:31 PM
I've had to use it for quite a few other scripts where command line PHP just doesn't work for some reason.
Do you have ffmpeg on that server? I have some really cool tools I'm building right now that use it ;)
keithldick
11-03-2007, 05:55 PM
Not sure if I have "ffmpeg " or not...
Is there a reason why the Categories list has "2-Cars" & "2-Sports" in it?.... hehe
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.